summaryrefslogtreecommitdiffstats
path: root/llvm/test/Feature
diff options
context:
space:
mode:
authorAnna Thomas <anna@azul.com>2016-07-21 19:06:28 +0000
committerAnna Thomas <anna@azul.com>2016-07-21 19:06:28 +0000
commitc858faa2447720da43a59454c67819ed43945d1d (patch)
tree30812ef5c342d5d8c54c6d1d66f501323d1b4e6e /llvm/test/Feature
parentff9eea2278f6d01260ab917e5ee8f52d29274d7d (diff)
downloadbcm5719-llvm-c858faa2447720da43a59454c67819ed43945d1d.tar.gz
bcm5719-llvm-c858faa2447720da43a59454c67819ed43945d1d.zip
Revert "Invariant start/end intrinsics overloaded for address space"
This reverts commit r276316. llvm-svn: 276320
Diffstat (limited to 'llvm/test/Feature')
-rw-r--r--llvm/test/Feature/memorymarkers.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/Feature/memorymarkers.ll b/llvm/test/Feature/memorymarkers.ll
index 842346e007a..47dd1ee5cf6 100644
--- a/llvm/test/Feature/memorymarkers.ll
+++ b/llvm/test/Feature/memorymarkers.ll
@@ -6,8 +6,8 @@ declare void @_Z3barRKi(i32*)
declare void @llvm.lifetime.start(i64, i8* nocapture) nounwind
declare void @llvm.lifetime.end(i64, i8* nocapture) nounwind
-declare {}* @llvm.invariant.start.p0i8(i64, i8* nocapture) readonly nounwind
-declare void @llvm.invariant.end.p0i8({}*, i64, i8* nocapture) nounwind
+declare {}* @llvm.invariant.start(i64, i8* nocapture) readonly nounwind
+declare void @llvm.invariant.end({}*, i64, i8* nocapture) nounwind
define i32 @_Z4foo2v() nounwind {
entry:
@@ -24,12 +24,12 @@ entry:
store i32 5, i32* %1, align 4
;; Constructor has finished here.
- %inv = call {}* @llvm.invariant.start.p0i8(i64 8, i8* %y)
+ %inv = call {}* @llvm.invariant.start(i64 8, i8* %y)
call void @_Z3barRKi(i32* %0) nounwind
%2 = load i32, i32* %0, align 8
;; Destructor is run here.
- call void @llvm.invariant.end.p0i8({}* %inv, i64 8, i8* %y)
+ call void @llvm.invariant.end({}* %inv, i64 8, i8* %y)
;; Destructor is done here.
call void @llvm.lifetime.end(i64 8, i8* %y)
ret i32 %2
OpenPOWER on IntegriCloud