mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
Remove (somewhat confusing) Imp<> helper, use let Defs = [], Uses = [] instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41863 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -201,12 +201,14 @@ multiclass F3_12np<string OpcStr, bits<6> Op3Val> {
|
||||
class Pseudo<dag outs, dag ins, string asmstr, list<dag> pattern>
|
||||
: InstSP<outs, ins, asmstr, pattern>;
|
||||
|
||||
let Defs = [O6], Uses = [O6] in {
|
||||
def ADJCALLSTACKDOWN : Pseudo<(outs), (ins i32imm:$amt),
|
||||
"!ADJCALLSTACKDOWN $amt",
|
||||
[(callseq_start imm:$amt)]>, Imp<[O6],[O6]>;
|
||||
[(callseq_start imm:$amt)]>;
|
||||
def ADJCALLSTACKUP : Pseudo<(outs), (ins i32imm:$amt),
|
||||
"!ADJCALLSTACKUP $amt",
|
||||
[(callseq_end imm:$amt)]>, Imp<[O6],[O6]>;
|
||||
[(callseq_end imm:$amt)]>;
|
||||
}
|
||||
def IMPLICIT_DEF_Int : Pseudo<(outs IntRegs:$dst), (ins),
|
||||
"!IMPLICIT_DEF $dst",
|
||||
[(set IntRegs:$dst, (undef))]>;
|
||||
|
Reference in New Issue
Block a user