mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-12 01:25:49 +00:00
The pic base can't be duplicated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45668 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -282,7 +282,7 @@ def IMPLICIT_DEF_GR32 : I<0, Pseudo, (outs GR32:$dst), (ins),
|
|||||||
def NOOP : I<0x90, RawFrm, (outs), (ins), "nop", []>;
|
def NOOP : I<0x90, RawFrm, (outs), (ins), "nop", []>;
|
||||||
|
|
||||||
// PIC base
|
// PIC base
|
||||||
let neverHasSideEffects = 1 in {
|
let neverHasSideEffects = 1, isNotDuplicable = 1 in {
|
||||||
def MOVPC32r : Ii32<0xE8, Pseudo, (outs GR32:$reg), (ins piclabel:$label),
|
def MOVPC32r : Ii32<0xE8, Pseudo, (outs GR32:$reg), (ins piclabel:$label),
|
||||||
"call\t$label\n\tpop{l}\t$reg", []>;
|
"call\t$label\n\tpop{l}\t$reg", []>;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user