diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2012-05-09 15:52:43 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2012-05-09 15:52:43 +0000 |
commit | 01547b3ad2d4d5d6f832ac1b52d697391dcf9a7f (patch) | |
tree | ffca7c0415d5195f5d0e20b9a4c13d9cbc1ae4b4 /llvm/test/Transforms/InstCombine/debuginfo.ll | |
parent | 13cfa000188c7034be51238e3ded8ee489faf6c4 (diff) | |
download | bcm5719-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/Transforms/InstCombine/debuginfo.ll')
-rw-r--r-- | llvm/test/Transforms/InstCombine/debuginfo.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/InstCombine/debuginfo.ll b/llvm/test/Transforms/InstCombine/debuginfo.ll index f6892fc3e1f..62b491be87c 100644 --- a/llvm/test/Transforms/InstCombine/debuginfo.ll +++ b/llvm/test/Transforms/InstCombine/debuginfo.ll @@ -2,7 +2,7 @@ declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone -declare i64 @llvm.objectsize.i64(i8*, i1) nounwind readnone +declare i64 @llvm.objectsize.i64(i8*, i1, i32) nounwind readnone declare i8* @foo(i8*, i32, i64, i64) nounwind @@ -23,7 +23,7 @@ entry: %tmp1 = load i32* %__val.addr, align 4, !dbg !21, !tbaa !17 %tmp2 = load i64* %__len.addr, align 8, !dbg !21, !tbaa !19 %tmp3 = load i8** %__dest.addr, align 8, !dbg !21, !tbaa !13 - %0 = call i64 @llvm.objectsize.i64(i8* %tmp3, i1 false), !dbg !21 + %0 = call i64 @llvm.objectsize.i64(i8* %tmp3, i1 false, i32 0), !dbg !21 %call = call i8* @foo(i8* %tmp, i32 %tmp1, i64 %tmp2, i64 %0), !dbg !21 ret i8* %call, !dbg !21 } |