Commit 4bd3427
authored
IRBuilder: Add FMFSource parameter to CreateMaxNum/CreateMinNum (#129173)
In llvm/llvm-project#112852, we claimed that
llvm.minnum and llvm.maxnum should treat +0.0>-0.0, while libc doesn't
require fmin(3)/fmax(3) for it.
Let's add FMFSource parameter to CreateMaxNum and CreateMinNum, so that
they can be used by CodeGenFunction::EmitBuiltinExpr of Clang.1 parent cf05b6e commit 4bd3427
File tree
2 files changed
+12
-8
lines changed- clang/lib/CodeGen
- llvm/include/llvm/IR
2 files changed
+12
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4378 | 4378 | | |
4379 | 4379 | | |
4380 | 4380 | | |
4381 | | - | |
| 4381 | + | |
4382 | 4382 | | |
4383 | 4383 | | |
4384 | 4384 | | |
| |||
4394 | 4394 | | |
4395 | 4395 | | |
4396 | 4396 | | |
4397 | | - | |
| 4397 | + | |
4398 | 4398 | | |
4399 | 4399 | | |
4400 | 4400 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1005 | 1005 | | |
1006 | 1006 | | |
1007 | 1007 | | |
1008 | | - | |
| 1008 | + | |
| 1009 | + | |
1009 | 1010 | | |
1010 | 1011 | | |
1011 | | - | |
| 1012 | + | |
| 1013 | + | |
1012 | 1014 | | |
1013 | 1015 | | |
1014 | | - | |
| 1016 | + | |
1015 | 1017 | | |
1016 | 1018 | | |
1017 | 1019 | | |
1018 | | - | |
| 1020 | + | |
| 1021 | + | |
1019 | 1022 | | |
1020 | 1023 | | |
1021 | | - | |
| 1024 | + | |
| 1025 | + | |
1022 | 1026 | | |
1023 | 1027 | | |
1024 | | - | |
| 1028 | + | |
1025 | 1029 | | |
1026 | 1030 | | |
1027 | 1031 | | |
| |||
0 commit comments