Skip to content

Commit 694cdbc

Browse files
committed
[SOL] Emit no-op for anyext (#161)
1 parent a51e95c commit 694cdbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/SBF/SBFInstrInfo.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,7 @@ def : Pat<(i32 (trunc GPR:$src)),
12791279

12801280
// SBFv2 anyext
12811281
def : Pat<(i64 (anyext GPR32:$src)),
1282-
(MOV_32_64 GPR32:$src)>, Requires<[SBFExplicitSignExt]>;
1282+
(INSERT_SUBREG (i64 (IMPLICIT_DEF)), GPR32:$src, sub_32)>, Requires<[SBFExplicitSignExt]>;
12831283

12841284
// SBFv1 anyext
12851285
def : Pat<(i64 (anyext GPR32:$src)),

0 commit comments

Comments
 (0)