diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2012-05-22 15:26:48 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2012-05-22 15:26:48 +0000 |
commit | 3e86a0433db4c664d29f2b19eb977138e071a68a (patch) | |
tree | 2e4f7cab96a4e154ef835309081a693e4ddd83f6 /test/CodeGen/bounds-checking.c | |
parent | d95e95ec5300249f5b7c6f1b72bde59e5141069c (diff) |
revert the usage of the objectsize intrinsic with 3 parameters (to match LLVM r157255)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157256 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/bounds-checking.c')
-rw-r--r-- | test/CodeGen/bounds-checking.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/bounds-checking.c b/test/CodeGen/bounds-checking.c index ce7f24fde9..3271b76dcb 100644 --- a/test/CodeGen/bounds-checking.c +++ b/test/CodeGen/bounds-checking.c @@ -4,22 +4,22 @@ double f(int b, int i) { double a[b]; return a[i]; - // CHECK: objectsize.i64({{.*}}, i1 false, i32 4) + // CHECK: objectsize.i64({{.*}}, i1 false) // CHECK: icmp uge i64 {{.*}}, 8 } // CHECK: @f2 void f2() { int a[2]; - // CHECK: objectsize.i64({{.*}}, i1 false, i32 4) + // CHECK: objectsize.i64({{.*}}, i1 false) // CHECK: icmp uge i64 {{.*}}, 4 a[1] = 42; short *b = malloc(64); - // CHECK: objectsize.i64({{.*}}, i1 false, i32 4) + // CHECK: objectsize.i64({{.*}}, i1 false) // CHECK: icmp uge i64 {{.*}}, 4 // CHECK: getelementptr {{.*}}, i64 5 - // CHECK: objectsize.i64({{.*}}, i1 false, i32 4) + // CHECK: objectsize.i64({{.*}}, i1 false) // CHECK: icmp uge i64 {{.*}}, 2 b[5] = a[1]+2; } |