summaryrefslogtreecommitdiff
path: root/test/Feature
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-08-13 23:27:32 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-08-13 23:27:32 +0000
commit2eb84a568af5d805f25eda16b0b0d326ce5a6e74 (patch)
treeb8737399d3cb063d17357d038ad50f69850213a1 /test/Feature
parentd2e55b6a0a3fa9794ecc5450548d27d3d4e14df5 (diff)
Revert "Invariant start/end intrinsics overloaded for address space"
This reverts commit r276447. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278608 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature')
-rw-r--r--test/Feature/memorymarkers.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Feature/memorymarkers.ll b/test/Feature/memorymarkers.ll
index 842346e007a..47dd1ee5cf6 100644
--- a/test/Feature/memorymarkers.ll
+++ b/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