mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-17 00:57:54 +00:00
getting the pic base has no side effects.
llvm-svn: 45618
This commit is contained in:
parent
9e7943159e
commit
6ad8e32f6b
@ -282,8 +282,10 @@ def IMPLICIT_DEF_GR32 : I<0, Pseudo, (outs GR32:$dst), (ins),
|
||||
def NOOP : I<0x90, RawFrm, (outs), (ins), "nop", []>;
|
||||
|
||||
// PIC base
|
||||
let neverHasSideEffects = 1 in {
|
||||
def MOVPC32r : Ii32<0xE8, Pseudo, (outs GR32:$reg), (ins piclabel:$label),
|
||||
"call\t$label\n\tpop{l}\t$reg", []>;
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Control Flow Instructions...
|
||||
|
Loading…
x
Reference in New Issue
Block a user