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 | c87915629b965cfd6d8db08ebe990de5fcb2b077 (patch) | |
tree | 26676048296905543f265bb48fa492b49f4e28df /clang/test/CodeGen/object-size.c | |
parent | 9a05f20d410720f3f7dd710cadaff574104a037d (diff) | |
download | bcm5719-llvm-c87915629b965cfd6d8db08ebe990de5fcb2b077.tar.gz bcm5719-llvm-c87915629b965cfd6d8db08ebe990de5fcb2b077.zip |
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.
llvm-svn: 91983
Diffstat (limited to 'clang/test/CodeGen/object-size.c')
-rw-r--r-- | clang/test/CodeGen/object-size.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/object-size.c b/clang/test/CodeGen/object-size.c index 3f89e4c3d84..4947c19a5de 100644 --- a/clang/test/CodeGen/object-size.c +++ b/clang/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"); } |