mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-09 10:31:14 +00:00
add ret void support back
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25164 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
510e478098
commit
e5cf122869
@ -987,6 +987,10 @@ def : Pat<(or (shl GPRC:$rS, GPRC:$rB),
|
|||||||
(srl GPRC:$rS, (sub 32, GPRC:$rB))),
|
(srl GPRC:$rS, (sub 32, GPRC:$rB))),
|
||||||
(RLWNM GPRC:$rS, GPRC:$rB, 0, 31)>;
|
(RLWNM GPRC:$rS, GPRC:$rB, 0, 31)>;
|
||||||
|
|
||||||
|
// Return void support.
|
||||||
|
def : Pat<(ret), (BLR)>;
|
||||||
|
|
||||||
|
// 64-bit support
|
||||||
def : Pat<(i64 (zext GPRC:$in)),
|
def : Pat<(i64 (zext GPRC:$in)),
|
||||||
(RLDICL (OR4To8 GPRC:$in, GPRC:$in), 0, 32)>;
|
(RLDICL (OR4To8 GPRC:$in, GPRC:$in), 0, 32)>;
|
||||||
def : Pat<(i64 (anyext GPRC:$in)),
|
def : Pat<(i64 (anyext GPRC:$in)),
|
||||||
|
Loading…
Reference in New Issue
Block a user