diff options
Diffstat (limited to 'llvm/test/Transforms/FunctionAttrs/2008-09-03-ReadNone.ll')
-rw-r--r-- | llvm/test/Transforms/FunctionAttrs/2008-09-03-ReadNone.ll | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/test/Transforms/FunctionAttrs/2008-09-03-ReadNone.ll b/llvm/test/Transforms/FunctionAttrs/2008-09-03-ReadNone.ll index b62698a776f..ca05d63743b 100644 --- a/llvm/test/Transforms/FunctionAttrs/2008-09-03-ReadNone.ll +++ b/llvm/test/Transforms/FunctionAttrs/2008-09-03-ReadNone.ll @@ -10,16 +10,15 @@ define i32 @f() { ret i32 %tmp } -; CHECK: define i32 @g() #1 +; CHECK: define i32 @g() #0 define i32 @g() readonly { ret i32 0 } -; CHECK: define i32 @h() #1 +; CHECK: define i32 @h() #0 define i32 @h() readnone { %tmp = load i32, i32* @x ; <i32> [#uses=1] ret i32 %tmp } ; CHECK: attributes #0 = { readnone } -; CHECK: attributes #1 = { norecurse readnone } |