[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:
Piotr Padlewski 2017-03-31 17:39:07 +00:00
parent af26b71085
commit f580f444f6

View File

@ -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