forked from OSchip/llvm-project
[Test] Fix undef var in catch-undef-behavior.c
Commit9e52c43090
removed the directive defining LINE_1600 but left a string substitution to that variable in a CHECK-NOT directive. This will make that CHECK-NOT directive always fail to match, no matter the string. This commit follows the pattern done in9e52c43090
of simplifying the CHECK-NOT to only look for the function name and the opening parenthesis, thereby not requiring the LINE_1600 variable. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D93350
This commit is contained in:
parent
9ca67d7f44
commit
150fe05db4
|
@ -275,7 +275,7 @@ signed char fp16_char_overflow(__fp16 *p) {
|
|||
|
||||
// CHECK-COMMON-LABEL: @float_float_overflow
|
||||
float float_float_overflow(double f) {
|
||||
// CHECK-UBSAN-NOT: call {{.*}} @__ubsan_handle_float_cast_overflow(i8* bitcast ({{.*}} @[[LINE_1600]] to i8*),
|
||||
// CHECK-UBSAN-NOT: call {{.*}} @__ubsan_handle_float_cast_overflow(
|
||||
// CHECK-TRAP-NOT: call {{.*}} @llvm.ubsantrap(i8 19) [[NR_NUW]]
|
||||
// CHECK-COMMON: }
|
||||
return f;
|
||||
|
|
Loading…
Reference in New Issue