@@ -23,19 +23,19 @@ void foo(double *d, float f, float *fp, long double *l, int *i, const char *c) {
2323
2424 atan2 (f ,f ); atan2f (f ,f ) ; atan2l (f , f );
2525
26- // NO__ERRNO: declare double @atan2(double noundef , double noundef ) [[READNONE :#[0-9]+]]
27- // NO__ERRNO: declare float @atan2f (float noundef , float noundef ) [[READNONE ]]
28- // NO__ERRNO: declare x86_fp80 @atan2l (x86_fp80 noundef , x86_fp80 noundef ) [[READNONE ]]
26+ // NO__ERRNO: declare double @llvm. atan2.f64 (double, double) [[READNONE_INTRINSIC :#[0-9]+]]
27+ // NO__ERRNO: declare float @llvm.atan2.f32 (float, float) [[READNONE_INTRINSIC ]]
28+ // NO__ERRNO: declare x86_fp80 @llvm.atan2.f80 (x86_fp80, x86_fp80) [[READNONE_INTRINSIC ]]
2929 // HAS_ERRNO: declare double @atan2(double noundef, double noundef) [[NOT_READNONE]]
3030 // HAS_ERRNO: declare float @atan2f(float noundef, float noundef) [[NOT_READNONE]]
3131 // HAS_ERRNO: declare x86_fp80 @atan2l(x86_fp80 noundef, x86_fp80 noundef) [[NOT_READNONE]]
32- // HAS_MAYTRAP: declare double @atan2(double noundef, double noundef) [[NOT_READNONE:#[0-9]+]]
33- // HAS_MAYTRAP: declare float @atan2f(float noundef, float noundef) [[NOT_READNONE]]
34- // HAS_MAYTRAP: declare x86_fp80 @atan2l(x86_fp80 noundef, x86_fp80 noundef) [[NOT_READNONE]]
32+ // HAS_MAYTRAP: declare double @llvm.experimental.constrained. atan2.f64(
33+ // HAS_MAYTRAP: declare float @llvm.experimental.constrained.atan2.f32(
34+ // HAS_MAYTRAP: declare x86_fp80 @llvm.experimental.constrained.atan2.f80(
3535
3636 copysign (f ,f ); copysignf (f ,f );copysignl (f ,f );
3737
38- // NO__ERRNO: declare double @llvm.copysign.f64(double, double) [[READNONE_INTRINSIC:#[0-9]+ ]]
38+ // NO__ERRNO: declare double @llvm.copysign.f64(double, double) [[READNONE_INTRINSIC]]
3939 // NO__ERRNO: declare float @llvm.copysign.f32(float, float) [[READNONE_INTRINSIC]]
4040 // NO__ERRNO: declare x86_fp80 @llvm.copysign.f80(x86_fp80, x86_fp80) [[READNONE_INTRINSIC]]
4141 // HAS_ERRNO: declare double @llvm.copysign.f64(double, double) [[READNONE_INTRINSIC:#[0-9]+]]
@@ -65,13 +65,13 @@ void foo(double *d, float f, float *fp, long double *l, int *i, const char *c) {
6565 // HAS_ERRNO: declare double @frexp(double noundef, ptr noundef) [[NOT_READNONE]]
6666 // HAS_ERRNO: declare float @frexpf(float noundef, ptr noundef) [[NOT_READNONE]]
6767 // HAS_ERRNO: declare x86_fp80 @frexpl(x86_fp80 noundef, ptr noundef) [[NOT_READNONE]]
68- // HAS_MAYTRAP: declare double @frexp(double noundef, ptr noundef) [[NOT_READNONE]]
68+ // HAS_MAYTRAP: declare double @frexp(double noundef, ptr noundef) [[NOT_READNONE:#[0-9]+ ]]
6969 // HAS_MAYTRAP: declare float @frexpf(float noundef, ptr noundef) [[NOT_READNONE]]
7070 // HAS_MAYTRAP: declare x86_fp80 @frexpl(x86_fp80 noundef, ptr noundef) [[NOT_READNONE]]
7171
7272 ldexp (f ,f ); ldexpf (f ,f ); ldexpl (f ,f );
7373
74- // NO__ERRNO: declare double @ldexp(double noundef, i32 noundef) [[READNONE]]
74+ // NO__ERRNO: declare double @ldexp(double noundef, i32 noundef) [[READNONE:#[0-9]+ ]]
7575 // NO__ERRNO: declare float @ldexpf(float noundef, i32 noundef) [[READNONE]]
7676 // NO__ERRNO: declare x86_fp80 @ldexpl(x86_fp80 noundef, i32 noundef) [[READNONE]]
7777 // HAS_ERRNO: declare double @ldexp(double noundef, i32 noundef) [[NOT_READNONE]]
@@ -719,9 +719,9 @@ void foo(double *d, float f, float *fp, long double *l, int *i, const char *c) {
719719// HAS_ERRNO: declare x86_fp80 @llvm.trunc.f80(x86_fp80) [[READNONE_INTRINSIC]]
720720};
721721
722- // NO__ERRNO: attributes [[READNONE]] = { {{.*}}memory(none){{.*}} }
723722// NO__ERRNO: attributes [[READNONE_INTRINSIC]] = { {{.*}}memory(none){{.*}} }
724723// NO__ERRNO: attributes [[NOT_READNONE]] = { nounwind {{.*}} }
724+ // NO__ERRNO: attributes [[READNONE]] = { {{.*}}memory(none){{.*}} }
725725// NO__ERRNO: attributes [[READONLY]] = { {{.*}}memory(read){{.*}} }
726726
727727// HAS_ERRNO: attributes [[NOT_READNONE]] = { nounwind {{.*}} }
0 commit comments