Commit 70ed381
authored
[GlobalISel][AArch64] Fix fptoi.sat lowering. (llvm#127901)
The SDAG version uses fminnum/fmaxnum, in converting it to fcmp+select
it appears the order of the operands was chosen badly. This switches the
conditions used to keep the constant on the RHS.1 parent f4f7c71 commit 70ed381
File tree
5 files changed
+158
-158
lines changed- llvm
- lib/CodeGen/GlobalISel
- test/CodeGen/AArch64
5 files changed
+158
-158
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7816 | 7816 | | |
7817 | 7817 | | |
7818 | 7818 | | |
7819 | | - | |
| 7819 | + | |
7820 | 7820 | | |
7821 | 7821 | | |
7822 | 7822 | | |
7823 | 7823 | | |
7824 | 7824 | | |
7825 | | - | |
| 7825 | + | |
7826 | 7826 | | |
7827 | 7827 | | |
7828 | 7828 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
987 | 987 | | |
988 | 988 | | |
989 | 989 | | |
990 | | - | |
| 990 | + | |
991 | 991 | | |
992 | 992 | | |
993 | 993 | | |
994 | 994 | | |
995 | | - | |
| 995 | + | |
996 | 996 | | |
997 | 997 | | |
998 | | - | |
| 998 | + | |
999 | 999 | | |
1000 | 1000 | | |
1001 | 1001 | | |
1002 | | - | |
| 1002 | + | |
1003 | 1003 | | |
1004 | | - | |
| 1004 | + | |
1005 | 1005 | | |
1006 | 1006 | | |
1007 | 1007 | | |
1008 | | - | |
| 1008 | + | |
1009 | 1009 | | |
1010 | 1010 | | |
1011 | 1011 | | |
| |||
0 commit comments