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:
@@ -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 };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user