diff --git a/llvm/test/Transforms/FunctionAttrs/atomic.ll b/llvm/test/Transforms/FunctionAttrs/atomic.ll index 62f8fa5a1df4b56021398bdade5b959fc713a90d..7c2bff7a05f71501971d5d82bacf8bfbd71f1c3a 100644 --- a/llvm/test/Transforms/FunctionAttrs/atomic.ll +++ b/llvm/test/Transforms/FunctionAttrs/atomic.ll @@ -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