summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/MergeFunc/inttoptr-address-space.ll
diff options
context:
space:
mode:
authorArnold Schwaighofer <aschwaighofer@apple.com>2015-07-17 18:59:08 +0000
committerArnold Schwaighofer <aschwaighofer@apple.com>2015-07-17 18:59:08 +0000
commit690cd87dcdc8365701eec978aa710c943b4affa5 (patch)
tree0268a6c61509d2fccb9cf15288a6371744251c8e /llvm/test/Transforms/MergeFunc/inttoptr-address-space.ll
parent3116f6eb8675a9b95e6577dc9522fbb3b3651cd7 (diff)
downloadbcm5719-llvm-690cd87dcdc8365701eec978aa710c943b4affa5.tar.gz
bcm5719-llvm-690cd87dcdc8365701eec978aa710c943b4affa5.zip
MergeFuncs: Transfer the function parameter attributes to the call site
rdar://21516488 llvm-svn: 242558
Diffstat (limited to 'llvm/test/Transforms/MergeFunc/inttoptr-address-space.ll')
-rw-r--r--llvm/test/Transforms/MergeFunc/inttoptr-address-space.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/MergeFunc/inttoptr-address-space.ll b/llvm/test/Transforms/MergeFunc/inttoptr-address-space.ll
index 5f672debd91..86deb2c9495 100644
--- a/llvm/test/Transforms/MergeFunc/inttoptr-address-space.ll
+++ b/llvm/test/Transforms/MergeFunc/inttoptr-address-space.ll
@@ -21,7 +21,7 @@ define internal i8* @func35(%.qux.2585 addrspace(1)* nocapture %this) align 2 {
bb:
; CHECK-LABEL: @func35(
; CHECK: %[[V2:.+]] = bitcast %.qux.2585 addrspace(1)* %{{.*}} to %.qux.2496 addrspace(1)*
-; CHECK: %[[V3:.+]] = tail call i32 @func10(%.qux.2496 addrspace(1)* %[[V2]])
+; CHECK: %[[V3:.+]] = tail call i32 @func10(%.qux.2496 addrspace(1)* nocapture %[[V2]])
; CHECK: %{{.*}} = inttoptr i32 %[[V3]] to i8*
%tmp = getelementptr inbounds %.qux.2585, %.qux.2585 addrspace(1)* %this, i32 0, i32 2
%tmp1 = load i8*, i8* addrspace(1)* %tmp, align 4
OpenPOWER on IntegriCloud