aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/bounds-checking.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/bounds-checking.c')
-rw-r--r--test/CodeGen/bounds-checking.c8
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;
}