llvm.org GIT mirror llvm / 1b20168
Doh. PC displacement is between the constantpool and the add instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36630 91177308-0d34-0410-b5e6-96231b3b80d8 Evan Cheng 13 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
510510 // assembler.
511511 def tLEApcrel : TIx2<(ops GPR:$dst, i32imm:$label),
512512 !strconcat(!strconcat(".set PCRELV${:uid}, ($label-(",
513 "${:private}PCRELL${:uid}+6))\n"),
513 "${:private}PCRELL${:uid}+4))\n"),
514514 !strconcat("\tmov $dst, #PCRELV${:uid}\n",
515515 "${:private}PCRELL${:uid}:\n\tadd $dst, pc")),
516516 []>;