diff options
Diffstat (limited to 'llvm/test/Bitcode/attributes.ll')
| -rw-r--r-- | llvm/test/Bitcode/attributes.ll | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/llvm/test/Bitcode/attributes.ll b/llvm/test/Bitcode/attributes.ll index 92f892ad1e5..2ff87d68ebc 100644 --- a/llvm/test/Bitcode/attributes.ll +++ b/llvm/test/Bitcode/attributes.ll @@ -203,7 +203,13 @@ define void @f34() ; CHECK: define void @f34() { call void @nobuiltin() nobuiltin -; CHECK: call void @nobuiltin() #23 +; CHECK: call void @nobuiltin() #24 + ret void; +} + +define void @f35() optnone +; CHECK: define void @f35() #23 +{ ret void; } @@ -230,4 +236,6 @@ define void @f34() ; CHECK: attributes #20 = { "cpu"="cortex-a8" } ; CHECK: attributes #21 = { sspstrong } ; CHECK: attributes #22 = { minsize } -; CHECK: attributes #23 = { nobuiltin } +; CHECK: attributes #23 = { optnone } +; CHECK: attributes #24 = { nobuiltin } + |

