Commit 594a89f
committed
[FPEnv][ARM] Don't call mutateStrictFPToFP when lowering
mutateStrictFPToFP can delete the node and replace it with another with the same
value which can later cause problems, and returning the result of
mutateStrictFPToFP doesn't work because SelectionDAGLegalize expects that the
returned value has the same number of results as the original. Instead handle
things by doing the mutation manually.
Differential Revision: https://reviews.llvm.org/D747261 parent 3eaa53e commit 594a89f
File tree
2 files changed
+55
-2
lines changed- llvm
- lib/Target/ARM
- test/CodeGen/ARM
2 files changed
+55
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5425 | 5425 | | |
5426 | 5426 | | |
5427 | 5427 | | |
5428 | | - | |
| 5428 | + | |
| 5429 | + | |
| 5430 | + | |
| 5431 | + | |
| 5432 | + | |
| 5433 | + | |
5429 | 5434 | | |
5430 | 5435 | | |
5431 | 5436 | | |
| |||
16532 | 16537 | | |
16533 | 16538 | | |
16534 | 16539 | | |
16535 | | - | |
| 16540 | + | |
| 16541 | + | |
| 16542 | + | |
| 16543 | + | |
16536 | 16544 | | |
16537 | 16545 | | |
16538 | 16546 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
75 | 90 | | |
76 | 91 | | |
77 | 92 | | |
| |||
80 | 95 | | |
81 | 96 | | |
82 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
83 | 113 | | |
84 | 114 | | |
85 | 115 | | |
| |||
947 | 977 | | |
948 | 978 | | |
949 | 979 | | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
950 | 995 | | |
951 | 996 | | |
952 | 997 | | |
| |||
0 commit comments