1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

[NFC][PowerPC] Fix the liveins for 3 mir test cases

This commit is contained in:
Kang Zhang 2020-04-24 08:03:02 +00:00
parent 43e8795039
commit 63830a0762
3 changed files with 4 additions and 5 deletions

View File

@ -45,7 +45,6 @@ body: |
B %bb.3
bb.2:
liveins: $x3
$r3 = IMPLICIT_DEF
bb.3:

View File

@ -78,10 +78,10 @@ body: |
successors: %bb.2(0x30000000), %bb.1(0x50000000)
liveins: $x3, $x30
; bc should be converted into b, but creqv (CRSET) should not be removed since it is used in a predecessor.
; bc should be converted into b, and creqv (CRSET) should be removed since it isn't used.
; CHECK-LABEL: func
; CHECK: # %bb.1
; CHECK: creqv
; CHECK-NOT: creqv
; CHECK-NOT: bc
; CHECK: .LBB0_2
@ -112,7 +112,7 @@ body: |
BL8_NOP @callee, csr_ppc64_altivec, implicit-def dead $lr8, implicit $rm, implicit killed $x3, implicit $x2, implicit-def $r1, implicit-def dead $x3
bb.5.if.end:
liveins: $x30, $cr0gt
liveins: $x30
renamable $x3 = EXTSW_32_64 killed renamable $r30, implicit $x30
$x30 = LD 32, $x1 :: (load 8 from %fixed-stack.0, align 16)

View File

@ -88,7 +88,7 @@ body: |
BL8_NOP @callee, csr_ppc64_altivec, implicit-def dead $lr8, implicit $rm, implicit killed $x3, implicit $x2, implicit-def $r1, implicit-def dead $x3
bb.5:
liveins: $x30, $cr0gt
liveins: $x30
renamable $x3 = EXTSW_32_64 killed renamable $r30, implicit $x30
$x30 = LD 32, $x1 :: (load 8 from %fixed-stack.0, align 16)