mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-13 23:20:41 +00:00
Doh. PC displacement is between the constantpool and the add instruction.
llvm-svn: 36630
This commit is contained in:
parent
d21fa83e53
commit
01853831d2
@ -511,7 +511,7 @@ let usesCustomDAGSchedInserter = 1 in // Expanded by the scheduler.
|
||||
// assembler.
|
||||
def tLEApcrel : TIx2<(ops GPR:$dst, i32imm:$label),
|
||||
!strconcat(!strconcat(".set PCRELV${:uid}, ($label-(",
|
||||
"${:private}PCRELL${:uid}+6))\n"),
|
||||
"${:private}PCRELL${:uid}+4))\n"),
|
||||
!strconcat("\tmov $dst, #PCRELV${:uid}\n",
|
||||
"${:private}PCRELL${:uid}:\n\tadd $dst, pc")),
|
||||
[]>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user