Commit de75517
committed
IRBuilder: Add FMFSource parameter to CreateMaxNum/CreateMinNum
In #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 it can be used by CodeGenFunction::EmitBuiltinExpr of Clang.1 parent 88ff607 commit de75517
1 file changed
+8
-6
lines changed| 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 | + | |
1012 | 1013 | | |
1013 | 1014 | | |
1014 | | - | |
| 1015 | + | |
1015 | 1016 | | |
1016 | 1017 | | |
1017 | 1018 | | |
1018 | | - | |
| 1019 | + | |
| 1020 | + | |
1019 | 1021 | | |
1020 | 1022 | | |
1021 | | - | |
| 1023 | + | |
1022 | 1024 | | |
1023 | 1025 | | |
1024 | | - | |
| 1026 | + | |
1025 | 1027 | | |
1026 | 1028 | | |
1027 | 1029 | | |
| |||
0 commit comments