Commit 23021d4
committed
[X86][FP16] Fix vector_shuffle and lowering without f16c feature problems
The problem Alexander reported on D127982 was caused by an optimization
for AVX512-FP16 instruction. We must limit it to the feature enabled only.
During the investigation, I found we didn't expand for fp_round/fp_extend
without F16C. This may result runtime crash, so change them too.
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D1308171 parent 6093a77 commit 23021d4
File tree
3 files changed
+4136
-473
lines changed- llvm
- lib/Target/X86
- test/CodeGen/X86
3 files changed
+4136
-473
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1362 | 1362 | | |
1363 | 1363 | | |
1364 | 1364 | | |
| 1365 | + | |
| 1366 | + | |
1365 | 1367 | | |
1366 | 1368 | | |
1367 | 1369 | | |
| |||
16097 | 16099 | | |
16098 | 16100 | | |
16099 | 16101 | | |
16100 | | - | |
16101 | | - | |
16102 | | - | |
16103 | | - | |
16104 | | - | |
| 16102 | + | |
| 16103 | + | |
| 16104 | + | |
| 16105 | + | |
| 16106 | + | |
| 16107 | + | |
| 16108 | + | |
| 16109 | + | |
| 16110 | + | |
| 16111 | + | |
| 16112 | + | |
16105 | 16113 | | |
16106 | | - | |
16107 | | - | |
16108 | | - | |
16109 | | - | |
16110 | 16114 | | |
16111 | 16115 | | |
16112 | 16116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1297 | 1297 | | |
1298 | 1298 | | |
1299 | 1299 | | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
1300 | 1326 | | |
0 commit comments