summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/divmod.ll
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2012-05-09 15:52:43 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2012-05-09 15:52:43 +0000
commit01547b3ad2d4d5d6f832ac1b52d697391dcf9a7f (patch)
treeffca7c0415d5195f5d0e20b9a4c13d9cbc1ae4b4 /llvm/test/CodeGen/ARM/divmod.ll
parent13cfa000188c7034be51238e3ded8ee489faf6c4 (diff)
downloadbcm5719-llvm-01547b3ad2d4d5d6f832ac1b52d697391dcf9a7f.tar.gz
bcm5719-llvm-01547b3ad2d4d5d6f832ac1b52d697391dcf9a7f.zip
change the objectsize intrinsic signature: add a 3rd parameter to denote the maximum runtime performance penalty that the user is willing to accept.
This commit only adds the parameter. Code taking advantage of it will follow. llvm-svn: 156473
Diffstat (limited to 'llvm/test/CodeGen/ARM/divmod.ll')
-rw-r--r--llvm/test/CodeGen/ARM/divmod.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/divmod.ll b/llvm/test/CodeGen/ARM/divmod.ll
index 49c41037578..d5b2d05b403 100644
--- a/llvm/test/CodeGen/ARM/divmod.ll
+++ b/llvm/test/CodeGen/ARM/divmod.ll
@@ -43,7 +43,7 @@ bb:
%3 = load i32* @tabsize, align 4
%4 = srem i32 %cols, %3
%5 = sdiv i32 %cols, %3
- %6 = tail call i32 @llvm.objectsize.i32(i8* null, i1 false)
+ %6 = tail call i32 @llvm.objectsize.i32(i8* null, i1 false, i32 0)
%7 = tail call i8* @__memset_chk(i8* null, i32 9, i32 %5, i32 %6) nounwind
br label %bb1
@@ -54,5 +54,5 @@ bb1:
ret void
}
-declare i32 @llvm.objectsize.i32(i8*, i1) nounwind readnone
+declare i32 @llvm.objectsize.i32(i8*, i1, i32) nounwind readnone
declare i8* @__memset_chk(i8*, i32, i32, i32) nounwind
OpenPOWER on IntegriCloud