summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/IndVarSimplify/exit_value_test2.ll
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-04-10 20:18:21 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-04-10 20:18:21 +0000
commitf10061ec708ef787398649f3eb073c6ca3acd73d (patch)
tree5949d7ce9679b7e663a7f4fad605cddae4c5199c /llvm/test/Transforms/IndVarSimplify/exit_value_test2.ll
parent324c99dee5096be095adc3972c4a512ca0f74090 (diff)
downloadbcm5719-llvm-f10061ec708ef787398649f3eb073c6ca3acd73d.tar.gz
bcm5719-llvm-f10061ec708ef787398649f3eb073c6ca3acd73d.zip
Add address space mangling to lifetime intrinsics
In preparation for allowing allocas to have non-0 addrspace. llvm-svn: 299876
Diffstat (limited to 'llvm/test/Transforms/IndVarSimplify/exit_value_test2.ll')
-rw-r--r--llvm/test/Transforms/IndVarSimplify/exit_value_test2.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/Transforms/IndVarSimplify/exit_value_test2.ll b/llvm/test/Transforms/IndVarSimplify/exit_value_test2.ll
index 24e3e95a891..ee641667506 100644
--- a/llvm/test/Transforms/IndVarSimplify/exit_value_test2.ll
+++ b/llvm/test/Transforms/IndVarSimplify/exit_value_test2.ll
@@ -8,14 +8,14 @@
; CHECK-NOT: udiv
declare void @_Z3mixRjj(i32* dereferenceable(4), i32)
-declare void @llvm.lifetime.start(i64, i8* nocapture)
-declare void @llvm.lifetime.end(i64, i8* nocapture)
+declare void @llvm.lifetime.start.p0i8(i64, i8* nocapture)
+declare void @llvm.lifetime.end.p0i8(i64, i8* nocapture)
define i32 @_Z3fooPKcjj(i8* nocapture readonly %s, i32 %len, i32 %c) {
entry:
%a = alloca i32, align 4
%tmp = bitcast i32* %a to i8*
- call void @llvm.lifetime.start(i64 4, i8* %tmp)
+ call void @llvm.lifetime.start.p0i8(i64 4, i8* %tmp)
store i32 -1640531527, i32* %a, align 4
%cmp8 = icmp ugt i32 %len, 11
br i1 %cmp8, label %while.body.lr.ph, label %while.end
@@ -47,6 +47,6 @@ while.end: ; preds = %while.cond.while.en
%keylen.0.lcssa = phi i32 [ %sub.lcssa, %while.cond.while.end_crit_edge ], [ %len, %entry ]
call void @_Z3mixRjj(i32* dereferenceable(4) %a, i32 %keylen.0.lcssa)
%tmp4 = load i32, i32* %a, align 4
- call void @llvm.lifetime.end(i64 4, i8* %tmp)
+ call void @llvm.lifetime.end.p0i8(i64 4, i8* %tmp)
ret i32 %tmp4
}
OpenPOWER on IntegriCloud