@@ -1300,7 +1300,7 @@ long double call_copysignl(long double x, long double y) {
1300
1300
float my_fmaxf (float x , float y ) {
1301
1301
return __builtin_fmaxf (x , y );
1302
1302
// CHECK: cir.func @my_fmaxf
1303
- // CHECK: %{{.+}} = cir.fmax %{{.+}}, %{{.+}} : !cir.float
1303
+ // CHECK: %{{.+}} = cir.fmaxnum %{{.+}}, %{{.+}} : !cir.float
1304
1304
1305
1305
// LLVM: define dso_local float @my_fmaxf
1306
1306
// LLVM: %{{.+}} = call float @llvm.maxnum.f32(float %{{.+}}, float %{{.+}})
@@ -1310,7 +1310,7 @@ float my_fmaxf(float x, float y) {
1310
1310
double my_fmax (double x , double y ) {
1311
1311
return __builtin_fmax (x , y );
1312
1312
// CHECK: cir.func @my_fmax
1313
- // CHECK: %{{.+}} = cir.fmax %{{.+}}, %{{.+}} : !cir.double
1313
+ // CHECK: %{{.+}} = cir.fmaxnum %{{.+}}, %{{.+}} : !cir.double
1314
1314
1315
1315
// LLVM: define dso_local double @my_fmax
1316
1316
// LLVM: %{{.+}} = call double @llvm.maxnum.f64(double %{{.+}}, double %{{.+}})
@@ -1320,8 +1320,8 @@ double my_fmax(double x, double y) {
1320
1320
long double my_fmaxl (long double x , long double y ) {
1321
1321
return __builtin_fmaxl (x , y );
1322
1322
// CHECK: cir.func @my_fmaxl
1323
- // CHECK: %{{.+}} = cir.fmax %{{.+}}, %{{.+}} : !cir.long_double<!cir.f80>
1324
- // AARCH64: %{{.+}} = cir.fmax %{{.+}}, %{{.+}} : !cir.long_double<!cir.double>
1323
+ // CHECK: %{{.+}} = cir.fmaxnum %{{.+}}, %{{.+}} : !cir.long_double<!cir.f80>
1324
+ // AARCH64: %{{.+}} = cir.fmaxnum %{{.+}}, %{{.+}} : !cir.long_double<!cir.double>
1325
1325
1326
1326
// LLVM: define dso_local x86_fp80 @my_fmaxl
1327
1327
// LLVM: %{{.+}} = call x86_fp80 @llvm.maxnum.f80(x86_fp80 %{{.+}}, x86_fp80 %{{.+}})
@@ -1335,7 +1335,7 @@ long double fmaxl(long double, long double);
1335
1335
float call_fmaxf (float x , float y ) {
1336
1336
return fmaxf (x , y );
1337
1337
// CHECK: cir.func @call_fmaxf
1338
- // CHECK: %{{.+}} = cir.fmax %{{.+}}, %{{.+}} : !cir.float
1338
+ // CHECK: %{{.+}} = cir.fmaxnum %{{.+}}, %{{.+}} : !cir.float
1339
1339
1340
1340
// LLVM: define dso_local float @call_fmaxf
1341
1341
// LLVM: %{{.+}} = call float @llvm.maxnum.f32(float %{{.+}}, float %{{.+}})
@@ -1345,7 +1345,7 @@ float call_fmaxf(float x, float y) {
1345
1345
double call_fmax (double x , double y ) {
1346
1346
return fmax (x , y );
1347
1347
// CHECK: cir.func @call_fmax
1348
- // CHECK: %{{.+}} = cir.fmax %{{.+}}, %{{.+}} : !cir.double
1348
+ // CHECK: %{{.+}} = cir.fmaxnum %{{.+}}, %{{.+}} : !cir.double
1349
1349
1350
1350
// LLVM: define dso_local double @call_fmax
1351
1351
// LLVM: %{{.+}} = call double @llvm.maxnum.f64(double %{{.+}}, double %{{.+}})
@@ -1355,8 +1355,8 @@ double call_fmax(double x, double y) {
1355
1355
long double call_fmaxl (long double x , long double y ) {
1356
1356
return fmaxl (x , y );
1357
1357
// CHECK: cir.func @call_fmaxl
1358
- // CHECK: %{{.+}} = cir.fmax %{{.+}}, %{{.+}} : !cir.long_double<!cir.f80>
1359
- // AARCH64: %{{.+}} = cir.fmax %{{.+}}, %{{.+}} : !cir.long_double<!cir.double>
1358
+ // CHECK: %{{.+}} = cir.fmaxnum %{{.+}}, %{{.+}} : !cir.long_double<!cir.f80>
1359
+ // AARCH64: %{{.+}} = cir.fmaxnum %{{.+}}, %{{.+}} : !cir.long_double<!cir.double>
1360
1360
1361
1361
// LLVM: define dso_local x86_fp80 @call_fmaxl
1362
1362
// LLVM: %{{.+}} = call x86_fp80 @llvm.maxnum.f80(x86_fp80 %{{.+}}, x86_fp80 %{{.+}})
@@ -1368,7 +1368,7 @@ long double call_fmaxl(long double x, long double y) {
1368
1368
float my_fminf (float x , float y ) {
1369
1369
return __builtin_fminf (x , y );
1370
1370
// CHECK: cir.func @my_fminf
1371
- // CHECK: %{{.+}} = cir.fmin %{{.+}}, %{{.+}} : !cir.float
1371
+ // CHECK: %{{.+}} = cir.fminnum %{{.+}}, %{{.+}} : !cir.float
1372
1372
1373
1373
// LLVM: define dso_local float @my_fminf
1374
1374
// LLVM: %{{.+}} = call float @llvm.minnum.f32(float %{{.+}}, float %{{.+}})
@@ -1378,7 +1378,7 @@ float my_fminf(float x, float y) {
1378
1378
double my_fmin (double x , double y ) {
1379
1379
return __builtin_fmin (x , y );
1380
1380
// CHECK: cir.func @my_fmin
1381
- // CHECK: %{{.+}} = cir.fmin %{{.+}}, %{{.+}} : !cir.double
1381
+ // CHECK: %{{.+}} = cir.fminnum %{{.+}}, %{{.+}} : !cir.double
1382
1382
1383
1383
// LLVM: define dso_local double @my_fmin
1384
1384
// LLVM: %{{.+}} = call double @llvm.minnum.f64(double %{{.+}}, double %{{.+}})
@@ -1388,8 +1388,8 @@ double my_fmin(double x, double y) {
1388
1388
long double my_fminl (long double x , long double y ) {
1389
1389
return __builtin_fminl (x , y );
1390
1390
// CHECK: cir.func @my_fminl
1391
- // CHECK: %{{.+}} = cir.fmin %{{.+}}, %{{.+}} : !cir.long_double<!cir.f80>
1392
- // AARCH64: %{{.+}} = cir.fmin %{{.+}}, %{{.+}} : !cir.long_double<!cir.double>
1391
+ // CHECK: %{{.+}} = cir.fminnum %{{.+}}, %{{.+}} : !cir.long_double<!cir.f80>
1392
+ // AARCH64: %{{.+}} = cir.fminnum %{{.+}}, %{{.+}} : !cir.long_double<!cir.double>
1393
1393
1394
1394
// LLVM: define dso_local x86_fp80 @my_fminl
1395
1395
// LLVM: %{{.+}} = call x86_fp80 @llvm.minnum.f80(x86_fp80 %{{.+}}, x86_fp80 %{{.+}})
@@ -1403,7 +1403,7 @@ long double fminl(long double, long double);
1403
1403
float call_fminf (float x , float y ) {
1404
1404
return fminf (x , y );
1405
1405
// CHECK: cir.func @call_fminf
1406
- // CHECK: %{{.+}} = cir.fmin %{{.+}}, %{{.+}} : !cir.float
1406
+ // CHECK: %{{.+}} = cir.fminnum %{{.+}}, %{{.+}} : !cir.float
1407
1407
1408
1408
// LLVM: define dso_local float @call_fminf
1409
1409
// LLVM: %{{.+}} = call float @llvm.minnum.f32(float %{{.+}}, float %{{.+}})
@@ -1413,7 +1413,7 @@ float call_fminf(float x, float y) {
1413
1413
double call_fmin (double x , double y ) {
1414
1414
return fmin (x , y );
1415
1415
// CHECK: cir.func @call_fmin
1416
- // CHECK: %{{.+}} = cir.fmin %{{.+}}, %{{.+}} : !cir.double
1416
+ // CHECK: %{{.+}} = cir.fminnum %{{.+}}, %{{.+}} : !cir.double
1417
1417
1418
1418
// LLVM: define dso_local double @call_fmin
1419
1419
// LLVM: %{{.+}} = call double @llvm.minnum.f64(double %{{.+}}, double %{{.+}})
@@ -1423,8 +1423,8 @@ double call_fmin(double x, double y) {
1423
1423
long double call_fminl (long double x , long double y ) {
1424
1424
return fminl (x , y );
1425
1425
// CHECK: cir.func @call_fminl
1426
- // CHECK: %{{.+}} = cir.fmin %{{.+}}, %{{.+}} : !cir.long_double<!cir.f80>
1427
- // AARCH64: %{{.+}} = cir.fmin %{{.+}}, %{{.+}} : !cir.long_double<!cir.double>
1426
+ // CHECK: %{{.+}} = cir.fminnum %{{.+}}, %{{.+}} : !cir.long_double<!cir.f80>
1427
+ // AARCH64: %{{.+}} = cir.fminnum %{{.+}}, %{{.+}} : !cir.long_double<!cir.double>
1428
1428
1429
1429
// LLVM: define dso_local x86_fp80 @call_fminl
1430
1430
// LLVM: %{{.+}} = call x86_fp80 @llvm.minnum.f80(x86_fp80 %{{.+}}, x86_fp80 %{{.+}})
0 commit comments