mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Add a todo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74976 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0fc0ade095
commit
c9a4153eef
@ -1165,7 +1165,8 @@ void Emitter<CodeEmitter>::emitMiscBranchInstruction(const MachineInstr &MI) {
|
||||
emitDataProcessingInstruction(MI, ARM::PC);
|
||||
|
||||
// Then emit the inline jump table.
|
||||
unsigned JTIndex = (TID.Opcode == ARM::BR_JTr || TID.Opcode == ARM::t2BR_JTr)
|
||||
unsigned JTIndex =
|
||||
(TID.Opcode == ARM::BR_JTr || TID.Opcode == ARM::t2BR_JTr)
|
||||
? MI.getOperand(1).getIndex() : MI.getOperand(2).getIndex();
|
||||
emitInlineJumpTable(JTIndex);
|
||||
return;
|
||||
|
7
lib/Target/ARM/README-Thumb2.txt
Normal file
7
lib/Target/ARM/README-Thumb2.txt
Normal file
@ -0,0 +1,7 @@
|
||||
//===---------------------------------------------------------------------===//
|
||||
// Random ideas for the ARM backend (Thumb2 specific).
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
* We should model IT instructions explicitly. We should introduce them (even if
|
||||
if-converter is not run, the function could still contain movcc's) before
|
||||
PEI since passes starting from PEI may require exact code size.
|
Loading…
Reference in New Issue
Block a user