Fix test.
authorEli Friedman <eli.friedman@gmail.com>
Tue, 16 Aug 2011 01:42:56 +0000 (01:42 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 16 Aug 2011 01:42:56 +0000 (01:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137703 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/FunctionAttrs/atomic.ll

index 62f8fa5a1df4b56021398bdade5b959fc713a90d..7c2bff7a05f71501971d5d82bacf8bfbd71f1c3a 100644 (file)
@@ -13,7 +13,7 @@ entry:
 
 ; A function with an Acquire load is not readonly.
 define i32 @test2(i32* %x) uwtable ssp {
-; CHECK: define i32 @test2(i32 %x) uwtable ssp {
+; CHECK: define i32 @test2(i32* nocapture %x) uwtable ssp {
 entry:
   %r = load atomic i32* %x seq_cst, align 4
   ret i32 %r