summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Generic
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-10-07 18:06:48 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-10-07 18:06:48 +0000
commitfbcbce439d51125939509efc3717b8ccb893a22b (patch)
tree9a4a8ce759e9be38f0bc53d4c216db2f140addab /llvm/test/CodeGen/Generic
parent41b165335030478a23174f0216e4af198a7b631b (diff)
downloadbcm5719-llvm-fbcbce439d51125939509efc3717b8ccb893a22b.tar.gz
bcm5719-llvm-fbcbce439d51125939509efc3717b8ccb893a22b.zip
Change objectsize intrinsic to accept different address spaces.
Bitcasting everything to i8* won't work. Autoupgrade the old intrinsic declarations to use the new mangling. llvm-svn: 192117
Diffstat (limited to 'llvm/test/CodeGen/Generic')
-rw-r--r--llvm/test/CodeGen/Generic/crash.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/Generic/crash.ll b/llvm/test/CodeGen/Generic/crash.ll
index d3fc20467aa..8de6b0d4bd3 100644
--- a/llvm/test/CodeGen/Generic/crash.ll
+++ b/llvm/test/CodeGen/Generic/crash.ll
@@ -23,7 +23,7 @@ bb32: ; preds = %bb6
%3 = load double* %1, align 4
%4 = load double* %0, align 4
call void @Parse_Vector(double* %0) nounwind
-%5 = call i32 @llvm.objectsize.i32(i8* undef, i1 false)
+%5 = call i32 @llvm.objectsize.i32.p0i8(i8* undef, i1 false)
%6 = icmp eq i32 %5, -1
br i1 %6, label %bb34, label %bb33
@@ -36,7 +36,7 @@ unreachable
}
declare void @Parse_Vector(double*)
-declare i32 @llvm.objectsize.i32(i8*, i1)
+declare i32 @llvm.objectsize.i32.p0i8(i8*, i1)
; PR9578
OpenPOWER on IntegriCloud