Skip to content

Commit 4d99a4b

Browse files
committed
add checking isel8 in test case
1 parent 0ac5ef2 commit 4d99a4b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

llvm/test/CodeGen/PowerPC/peephole-replaceInstr-after-eliminate-extsw.mir

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,15 +561,23 @@ body: |
561561
; CHECK-NOT: EXTSW_32_64
562562
=======
563563
; CHECK: %159:g8rc = IMPLICIT_DEF
564-
; CHECK-NEXT: %160:g8rc = INSERT_SUBREG %159, %0, %subreg.sub_32
564+
; CHECK-NEXT: %160:g8rc = INSERT_SUBREG %159, %0, %subreg.sub_32
565565
; CHECK-NEXT: %161:g8rc = EXTSH8 killed %160
566566
; CHECK-NEXT: %151:gprc_and_gprc_nor0 = COPY killed %161.sub_32
567567

568568
%152:crrc = CMPW %151, %150
569569
%153:gprc = ISEL %151, %150, %152.sub_lt
570570
%154:g8rc = EXTSW_32_64 killed %153
571+
<<<<<<< HEAD
571572
; CHECK-NOT: %154:g8rc = EXTSW_32_64 killed %153
572573
>>>>>>> 0f41554d3b33 (fixed a bug of PPCMIPeepholes which description in issue 71030)
574+
=======
575+
; CHECK: %165:g8rc = IMPLICIT_DEF
576+
; CHECK-NEXT: %166:g8rc = INSERT_SUBREG %165, %150, %subreg.sub_32
577+
; CHECK-NEXT: %167:g8rc = ISEL8 killed %164, killed %166, %152.sub_lt
578+
; CHECK-NEXT: %153:gprc = COPY killed %167.sub_32
579+
; CHECK-NOT: %154:g8rc = EXTSW_32_64 killed %153
580+
>>>>>>> 5b5e3c706219 (add checking isel8 in test case)
573581
%155:g8rc_and_g8rc_nox0 = LDtoc @computedResultUll, $x2 :: (load (s64) from got)
574582
STD %154, 0, killed %155 :: (store (s64) into @computedResultUll, !tbaa !7)
575583
ADJCALLSTACKDOWN 112, 0, implicit-def dead $r1, implicit $r1

0 commit comments

Comments
 (0)