Commit d48f6e1
Disable unsafe sin & cos optimizations for compute
Don't apply fast math flags to selected math builtins.
Disable module-wide unsafe math optimizations for compute
Fix regressions in CustomUnsafeOptPass by propagating
fast math flags to newly created fsub and fdiv instructions.
Keep handling xor optimizations by using an old method of
looking up module metadata for FastRelaxedMath flag.1 parent 75ab08c commit d48f6e1
File tree
3 files changed
+24
-3
lines changed- IGC
- AdaptorOCL
- Compiler
3 files changed
+24
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
209 | 210 | | |
210 | 211 | | |
211 | 212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
962 | 962 | | |
963 | 963 | | |
964 | 964 | | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
965 | 969 | | |
966 | 970 | | |
967 | 971 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
93 | 100 | | |
94 | 101 | | |
95 | 102 | | |
| |||
1207 | 1214 | | |
1208 | 1215 | | |
1209 | 1216 | | |
1210 | | - | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
1211 | 1223 | | |
1212 | 1224 | | |
1213 | 1225 | | |
1214 | | - | |
1215 | 1226 | | |
1216 | 1227 | | |
1217 | 1228 | | |
| |||
1483 | 1494 | | |
1484 | 1495 | | |
1485 | 1496 | | |
1486 | | - | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
1487 | 1503 | | |
1488 | 1504 | | |
1489 | 1505 | | |
| |||
0 commit comments