@@ -38,24 +38,6 @@ void foo(double *d, float f, float *fp, long double *l, int *i, const char *c) {
3838// NO__ERRNO-NEXT: [[FREXP_F128_0:%.+]] = extractvalue { fp128, i32 } [[FREXP_F128]], 0
3939
4040
41- // NO__ERRNO: [[MODF_F64:%.+]] = call { double, double } @llvm.modf.f64(double %{{.+}})
42- // NO__ERRNO-NEXT: [[MODF_F64_FP:%.+]] = extractvalue { double, double } [[MODF_F64]], 0
43- // NO__ERRNO-NEXT: [[MODF_F64_IP:%.+]] = extractvalue { double, double } [[MODF_F64]], 1
44- // NO__ERRNO-NEXT: store double [[MODF_F64_IP]], ptr %{{.+}}, align 8
45-
46- // NO__ERRNO: [[MODF_F32:%.+]] = call { float, float } @llvm.modf.f32(float %{{.+}})
47- // NO__ERRNO-NEXT: [[MODF_F32_FP:%.+]] = extractvalue { float, float } [[MODF_F32]], 0
48- // NO__ERRNO-NEXT: [[MODF_F32_IP:%.+]] = extractvalue { float, float } [[MODF_F32]], 1
49- // NO__ERRNO-NEXT: store float [[MODF_F32_IP]], ptr %{{.+}}, align 4
50-
51- // NO__ERRNO: [[MODF_F80:%.+]] = call { x86_fp80, x86_fp80 } @llvm.modf.f80(x86_fp80 %{{.+}})
52- // NO__ERRNO-NEXT: [[MODF_F80_FP:%.+]] = extractvalue { x86_fp80, x86_fp80 } [[MODF_F80]], 0
53- // NO__ERRNO-NEXT: [[MODF_F80_IP:%.+]] = extractvalue { x86_fp80, x86_fp80 } [[MODF_F80]], 1
54- // NO__ERRNO-NEXT: store x86_fp80 [[MODF_F80_IP]], ptr %{{.+}}, align 16
55-
56- // NO__ERRNO: call fp128 @modff128(fp128 noundef %{{.+}}, ptr noundef %{{.+}})
57-
58-
5941// NO__ERRNO: [[SINCOS_F64:%.+]] = call { double, double } @llvm.sincos.f64(double %{{.+}})
6042// NO__ERRNO-NEXT: [[SINCOS_F64_0:%.+]] = extractvalue { double, double } [[SINCOS_F64]], 0
6143// NO__ERRNO-NEXT: [[SINCOS_F64_1:%.+]] = extractvalue { double, double } [[SINCOS_F64]], 1
@@ -157,13 +139,13 @@ void foo(double *d, float f, float *fp, long double *l, int *i, const char *c) {
157139
158140 __builtin_modf (f ,d ); __builtin_modff (f ,fp ); __builtin_modfl (f ,l ); __builtin_modff128 (f ,l );
159141
160- // NO__ERRNO: declare { double, double } @llvm. modf.f64 (double) [[READNONE_INTRINSIC ]]
161- // NO__ERRNO: declare { float, float } @llvm.modf.f32 (float) [[READNONE_INTRINSIC ]]
162- // NO__ERRNO: declare { x86_fp80, x86_fp80 } @llvm.modf.f80 (x86_fp80) [[READNONE_INTRINSIC ]]
163- // NO__ERRNO: declare fp128 @modff128(fp128 noundef, ptr noundef) [[NOT_READNONE:#[0-9]+ ]]
164- // HAS_ERRNO: declare { double, double } @llvm. modf.f64 (double) [[READNONE_INTRINSIC ]]
165- // HAS_ERRNO: declare { float, float } @llvm.modf.f32 (float) [[READNONE_INTRINSIC ]]
166- // HAS_ERRNO: declare { x86_fp80, x86_fp80 } @llvm.modf.f80 (x86_fp80) [[READNONE_INTRINSIC ]]
142+ // NO__ERRNO: declare double @ modf(double noundef, ptr noundef ) [[NOT_READNONE:#[0-9]+ ]]
143+ // NO__ERRNO: declare float @modff (float noundef, ptr noundef ) [[NOT_READNONE ]]
144+ // NO__ERRNO: declare x86_fp80 @modfl (x86_fp80 noundef, ptr noundef ) [[NOT_READNONE ]]
145+ // NO__ERRNO: declare fp128 @modff128(fp128 noundef, ptr noundef) [[NOT_READNONE]]
146+ // HAS_ERRNO: declare double @ modf(double noundef, ptr noundef ) [[NOT_READNONE ]]
147+ // HAS_ERRNO: declare float @modff (float noundef, ptr noundef ) [[NOT_READNONE ]]
148+ // HAS_ERRNO: declare x86_fp80 @modfl (x86_fp80 noundef, ptr noundef ) [[NOT_READNONE ]]
167149// HAS_ERRNO: declare fp128 @modff128(fp128 noundef, ptr noundef) [[NOT_READNONE]]
168150
169151 __builtin_nan (c ); __builtin_nanf (c ); __builtin_nanl (c ); __builtin_nanf128 (c );
0 commit comments