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 | 6cd07b45e172b457428b291fa28252e507a7c50c (patch) | |
tree | b071f8e3ea2745ffe1f5fe831e929beee5c0c725 /test/Analysis/TypeBasedAliasAnalysis | |
parent | 31d4df2fc68a767980df1d7314d927615aaba1cc (diff) |
Revert "[FunctionAttrs] Identify norecurse functions"
This reverts commit r252862. This introduced test failures and I'm reverting while I investigate how this happened.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252863 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/TypeBasedAliasAnalysis')
-rw-r--r-- | test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll b/test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll index 44031417032..6c9439afeea 100644 --- a/test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll +++ b/test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll @@ -30,7 +30,7 @@ define void @test1_yes(i32* %p) nounwind { ret void } -; CHECK: define void @test1_no(i32* %p) #3 { +; CHECK: define void @test1_no(i32* %p) #1 { define void @test1_no(i32* %p) nounwind { call void @callee(i32* %p), !tbaa !2 ret void @@ -72,11 +72,9 @@ define i32 @test3_no(i8* %p) nounwind { declare void @callee(i32* %p) nounwind declare void @llvm.memcpy.p0i8.p0i8.i64(i8*, i8*, i64, i32, i1) nounwind -; CHECK: attributes #0 = { norecurse nounwind readnone } -; CHECK: attributes #1 = { norecurse nounwind } +; CHECK: attributes #0 = { nounwind readnone } +; CHECK: attributes #1 = { nounwind } ; CHECK: attributes #2 = { nounwind readonly } -; CHECK: attributes #3 = { nounwind } -; CHECK: attributes #4 = { nounwind argmemonly } ; Root note. !0 = !{ } |