summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/FunctionAttrs/readattrs.ll
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2016-07-11 04:51:23 +0000
committerHal Finkel <hfinkel@anl.gov>2016-07-11 04:51:23 +0000
commit02012bcfee8f2a7c37dc38b35efbeb8c91c9cf28 (patch)
treec4769c5547053836b6f56cc56171e1f12944ad30 /llvm/test/Transforms/FunctionAttrs/readattrs.ll
parente64985fc94993fc748b9afe84943dec659bdab29 (diff)
downloadbcm5719-llvm-02012bcfee8f2a7c37dc38b35efbeb8c91c9cf28.tar.gz
bcm5719-llvm-02012bcfee8f2a7c37dc38b35efbeb8c91c9cf28.zip
Revert r275027 - Let FuncAttrs infer the 'returned' argument attribute
Reverting r275027 and r275033. These seem to cause miscompiles on the AArch64 buildbot. llvm-svn: 275042
Diffstat (limited to 'llvm/test/Transforms/FunctionAttrs/readattrs.ll')
-rw-r--r--llvm/test/Transforms/FunctionAttrs/readattrs.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/FunctionAttrs/readattrs.ll b/llvm/test/Transforms/FunctionAttrs/readattrs.ll
index 988557e2715..65861a55fc2 100644
--- a/llvm/test/Transforms/FunctionAttrs/readattrs.ll
+++ b/llvm/test/Transforms/FunctionAttrs/readattrs.ll
@@ -11,7 +11,7 @@ define void @test1_2(i8* %x1_2, i8* %y1_2, i8* %z1_2) {
ret void
}
-; CHECK: define i8* @test2(i8* readnone returned %p)
+; CHECK: define i8* @test2(i8* readnone %p)
define i8* @test2(i8* %p) {
store i32 0, i32* @x
ret i8* %p
@@ -53,7 +53,7 @@ define void @test7_1(i32* inalloca %a) {
ret void
}
-; CHECK: define i32* @test8_1(i32* readnone returned %p)
+; CHECK: define i32* @test8_1(i32* readnone %p)
define i32* @test8_1(i32* %p) {
entry:
ret i32* %p
OpenPOWER on IntegriCloud