mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-04 16:47:41 +00:00
[MSSA] Small test fix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299235 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
af26b71085
commit
f580f444f6
@ -19,7 +19,7 @@ define i32 @foo(i32* %a) {
|
|||||||
%a8 = call i8* @llvm.invariant.group.barrier(i8* %1)
|
%a8 = call i8* @llvm.invariant.group.barrier(i8* %1)
|
||||||
%a32 = bitcast i8* %a8 to i32*
|
%a32 = bitcast i8* %a8 to i32*
|
||||||
|
|
||||||
; This have to be MemoryUse(1), because we can't skip the barrier based on
|
; This have to be MemoryUse(2), because we can't skip the barrier based on
|
||||||
; invariant.group.
|
; invariant.group.
|
||||||
; CHECK: MemoryUse(2)
|
; CHECK: MemoryUse(2)
|
||||||
; CHECK-NEXT: %2 = load i32
|
; CHECK-NEXT: %2 = load i32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user