Elaborate on FIXME.

llvm-svn: 120552
This commit is contained in:
Jim Grosbach 2010-12-01 04:01:17 +00:00
parent d0d1329fc8
commit bfbf357c74
1 changed files with 4 additions and 1 deletions

View File

@ -1179,7 +1179,10 @@ def PICSTRB : ARMPseudoInst<(outs), (ins GPR:$src, addrmodepc:$addr, pred:$p),
// assembler. // assembler.
let neverHasSideEffects = 1, isReMaterializable = 1 in let neverHasSideEffects = 1, isReMaterializable = 1 in
// FIXME: We want one cannonical LEApcrel instruction and to express one or // FIXME: We want one cannonical LEApcrel instruction and to express one or
// both of these as pseudo-instructions that get expanded to it. // both of these as pseudo-instructions that get expanded to it. In particular,
// the cannonical "adr" pattern should take a single label operand, and the
// JT version should be a pseudo that when lowered to MC, xforms the insn
// to the canonical form referencing the correct symbol.
def LEApcrel : AXI1<0, (outs GPR:$Rd), (ins i32imm:$label, pred:$p), def LEApcrel : AXI1<0, (outs GPR:$Rd), (ins i32imm:$label, pred:$p),
MiscFrm, IIC_iALUi, MiscFrm, IIC_iALUi,
"adr${p}\t$Rd, #$label", []>; "adr${p}\t$Rd, #$label", []>;