llvm-project/llvm/lib/Target/M68k
Ricky Taylor e1e3b6ee72 [M68k] Avoid UB in disassembler
When reading 32 bits a 32-bit shift would be executed.

This is undefined behaviour, but in this case we can just replace the
entire scratch value to avoid it.

Differential Revision: https://reviews.llvm.org/D110769
2021-09-29 22:07:14 +01:00
..
AsmParser [M68k][NFC] Rename M68kOperand::Kind to KindTy 2021-08-25 22:24:43 +01:00
Disassembler [M68k] Avoid UB in disassembler 2021-09-29 22:07:14 +01:00
GlSel [M68k][GloballSel] RegBankSelect implementation 2021-08-10 15:24:43 -07:00
MCTargetDesc [MC] Use local MCSubtargetInfo in writeNops 2021-09-07 15:46:19 +01:00
TargetInfo [M68k] Mark public functions with the LLVM_EXTERNAL_VISIBILITY macro 2021-04-05 09:24:30 -07:00
CMakeLists.txt [M68k][GloballSel] Adding initial GlobalISel infrastructure 2021-06-16 10:48:38 -06:00
M68k.h [M68k][GloballSel] Adding initial GlobalISel infrastructure 2021-06-16 10:48:38 -06:00
M68k.td [M68k][GloballSel] Adding initial GlobalISel infrastructure 2021-06-16 10:48:38 -06:00
M68kAsmPrinter.cpp [M68k] Support for inline asm operands w/ simple constraints 2021-05-20 14:00:09 -07:00
M68kAsmPrinter.h [M68k] Support for inline asm operands w/ simple constraints 2021-05-20 14:00:09 -07:00
M68kCallingConv.h [M68k] Do not pass llvm::Function& to M68kCCState 2021-08-16 15:33:08 -07:00
M68kCallingConv.td
M68kCollapseMOVEMPass.cpp [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kExpandPseudo.cpp [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kFrameLowering.cpp [M68k] Separate ADDA from ADD and migrate rest of the arithmetic MC tests 2021-08-07 17:19:12 -07:00
M68kFrameLowering.h [CodeGen][NFC] Remove unused virtual function 2021-06-02 13:11:12 -07:00
M68kISelDAGToDAG.cpp [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kISelLowering.cpp [APInt] Normalize naming on keep constructors / predicate methods. 2021-09-09 09:50:24 -07:00
M68kISelLowering.h [M68k][GloballSel] Lower outgoing return values in IRTranslator 2021-07-05 11:39:09 -07:00
M68kInstrArithmetic.td [M68k] Separate ADDA from ADD and migrate rest of the arithmetic MC tests 2021-08-07 17:19:12 -07:00
M68kInstrBits.td [M68k] Introduce DReg bead 2021-03-19 11:44:53 +00:00
M68kInstrBuilder.h [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kInstrCompiler.td [M68k] Separate ADDA from ADD and migrate rest of the arithmetic MC tests 2021-08-07 17:19:12 -07:00
M68kInstrControl.td [M68k] Use fixed asm string for MxPseudo instructions 2021-03-17 13:31:27 -07:00
M68kInstrData.td [M68k] Use fixed asm string for MxPseudo instructions 2021-03-17 13:31:27 -07:00
M68kInstrFormats.td [M68k] Separate ADDA from ADD and migrate rest of the arithmetic MC tests 2021-08-07 17:19:12 -07:00
M68kInstrInfo.cpp [NFC] Edit the comment in M68kInstrInfo::ExpandMOVSZX_RM 2021-07-13 15:10:24 +09:00
M68kInstrInfo.h [M68k] Separate ADDA from ADD and migrate rest of the arithmetic MC tests 2021-08-07 17:19:12 -07:00
M68kInstrInfo.td [M68k][AsmParser] Support parsing register masks & fix printing them 2021-08-24 10:40:02 +01:00
M68kInstrShiftRotate.td [M68k] Introduce DReg bead 2021-03-19 11:44:53 +00:00
M68kMCInstLower.cpp [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kMCInstLower.h [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kMachineFunction.cpp [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kMachineFunction.h [M68k] fix -Wdefaulted-function-deleted and -Woverloaded-virtual 2021-04-30 11:23:31 -07:00
M68kRegisterInfo.cpp [NFCI] Move DEBUG_TYPE definition below #includes 2021-05-30 17:31:01 +08:00
M68kRegisterInfo.h [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kRegisterInfo.td [M68k] Convert register Aliases to AltNames 2021-03-19 11:44:53 +00:00
M68kSchedule.td
M68kSubtarget.cpp [M68k] Fix incorrect #include-ed file in M68kSubtarget 2021-06-22 23:02:21 -07:00
M68kSubtarget.h [M68k][GloballSel] Adding initial GlobalISel infrastructure 2021-06-16 10:48:38 -06:00
M68kTargetMachine.cpp [M68k] Update pointer data layout 2021-08-27 11:47:27 +01:00
M68kTargetMachine.h [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kTargetObjectFile.cpp [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kTargetObjectFile.h [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00