diff options
author | James Molloy <james.molloy@arm.com> | 2015-11-12 09:05:43 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2015-11-12 09:05:43 +0000 |
commit | 9a32da74f7d771baf6caed1b96fb6f19fa39d4d7 (patch) | |
tree | 4da2d7ac6dba2fb7db172a8fa4b5054646375488 /llvm/test/Transforms/FunctionAttrs/optnone.ll | |
parent | b14994e7525d20cb97ce9ebef18802cb038c5d66 (diff) | |
download | bcm5719-llvm-9a32da74f7d771baf6caed1b96fb6f19fa39d4d7.tar.gz bcm5719-llvm-9a32da74f7d771baf6caed1b96fb6f19fa39d4d7.zip |
Revert "[FunctionAttrs] Identify norecurse functions"
This reverts commit r252862. This introduced test failures and I'm reverting while I investigate how this happened.
llvm-svn: 252863
Diffstat (limited to 'llvm/test/Transforms/FunctionAttrs/optnone.ll')
-rw-r--r-- | llvm/test/Transforms/FunctionAttrs/optnone.ll | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/Transforms/FunctionAttrs/optnone.ll b/llvm/test/Transforms/FunctionAttrs/optnone.ll index 441ff4da65e..7694bfe13aa 100644 --- a/llvm/test/Transforms/FunctionAttrs/optnone.ll +++ b/llvm/test/Transforms/FunctionAttrs/optnone.ll @@ -16,11 +16,9 @@ define void @test_optnone(i8* %p) noinline optnone { declare i8 @strlen(i8*) noinline optnone ; CHECK-LABEL: @strlen -; CHECK: (i8*) #2 +; CHECK: (i8*) #1 ; CHECK-LABEL: attributes #0 -; CHECK: = { norecurse readnone } +; CHECK: = { readnone } ; CHECK-LABEL: attributes #1 -; CHECK: = { noinline norecurse optnone } -; CHECK-LABEL: attributes #2 ; CHECK: = { noinline optnone } |