diff options
| author | Eric Christopher <echristo@apple.com> | 2009-12-23 03:49:37 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@apple.com> | 2009-12-23 03:49:37 +0000 |
| commit | fee667f35e64751baa7fefe70b4e7bab06c8cd86 (patch) | |
| tree | 8437ff4ab4f5d72a7aa1d16f02ef76153183928e /test/CodeGen | |
| parent | c8be365b65912ebba182c39ccee4fc5c2fc7572c (diff) | |
| download | clang-fee667f35e64751baa7fefe70b4e7bab06c8cd86.tar.gz clang-fee667f35e64751baa7fefe70b4e7bab06c8cd86.tar.bz2 clang-fee667f35e64751baa7fefe70b4e7bab06c8cd86.tar.xz | |
Update for the intrinsic changes in llvm: the object size intrinsic
only takes a boolean second argument now. Update tests accordingly.
Currently the builtin still accepts the full range for compatibility.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91983 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
| -rw-r--r-- | test/CodeGen/object-size.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/object-size.c b/test/CodeGen/object-size.c index 3f89e4c3d8..4947c19a5d 100644 --- a/test/CodeGen/object-size.c +++ b/test/CodeGen/object-size.c @@ -35,7 +35,7 @@ void test4() { void test5() { // CHECK: %tmp = load i8** @gp - // CHECK-NEXT:%0 = call i64 @llvm.objectsize.i64(i8* %tmp, i32 0) + // CHECK-NEXT:%0 = call i64 @llvm.objectsize.i64(i8* %tmp, i1 false) // CHECK-NEXT:%cmp = icmp ne i64 %0, -1 strcpy(gp, "Hi there"); } |
