mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-06 09:39:28 +00:00
Add missing updated test from VN coercion changes. Instructions were renamed. NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298280 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1f1cffb8e5
commit
b4a2b00680
@ -382,12 +382,12 @@ define void @testNotGlobal() {
|
||||
|
||||
%b0 = bitcast i8* %a to i1*
|
||||
call void @fooBit(i1* %b0, i1 1)
|
||||
; CHECK: %trunc = trunc i8 %b to i1
|
||||
; CHECK: %1 = trunc i8 %b to i1
|
||||
%2 = load i1, i1* %b0, !invariant.group !0
|
||||
; CHECK-NEXT: call void @fooBit(i1* %b0, i1 %trunc)
|
||||
; CHECK-NEXT: call void @fooBit(i1* %b0, i1 %1)
|
||||
call void @fooBit(i1* %b0, i1 %2)
|
||||
%3 = load i1, i1* %b0, !invariant.group !0
|
||||
; CHECK-NEXT: call void @fooBit(i1* %b0, i1 %trunc)
|
||||
; CHECK-NEXT: call void @fooBit(i1* %b0, i1 %1)
|
||||
call void @fooBit(i1* %b0, i1 %3)
|
||||
ret void
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user