Reverting r216675. This breaks some bots. Before this can be committed again, I have to explore runtime ABI requirements with libc++abi.

llvm-svn: 216677
This commit is contained in:
Aaron Ballman
2014-08-28 17:24:14 +00:00
parent 85b99da72a
commit 455f42c9e8
6 changed files with 19 additions and 108 deletions

View File

@@ -14,12 +14,7 @@ void fn(int n) {
// CHECK-LABEL: define void @_Z15const_underflowv
void const_underflow() {
// CHECK-NOT: icmp ult i{{32|64}} %{{[^ ]+}}, 3
// CHECK: br label %[[BAD:.*]]
// CHECK: [[BAD]]:
// CHECK-NEXT: call void @__cxa_bad_array_new_length()
// CHECK-NEXT: unreachable
// CHECK: {{.*}}:
// CHECK: ret void
// CHECK: call noalias i8* @_Zna{{.}}(i{{32|64}} -1)
new int[2] { 1, 2, 3 };
}