Commit 55eb93b
authored
[RISCV] Remove RISCVISD::FP_EXTEND_BF16. (#106939)
I don't think we need this node. We can isel fp_extend directly.
fp_extend to f64 requires two instructions, but we can emit them with an
isel pattern.
I have not removed RISCVISD::FP_ROUND_BF16 because f64->bf16 needs more
work to fix the double rounding.1 parent 38ae53d commit 55eb93b
File tree
4 files changed
+11
-32
lines changed- llvm/lib/Target/RISCV
4 files changed
+11
-32
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
455 | | - | |
456 | | - | |
457 | 455 | | |
458 | 456 | | |
459 | 457 | | |
| |||
6500 | 6498 | | |
6501 | 6499 | | |
6502 | 6500 | | |
6503 | | - | |
6504 | | - | |
6505 | | - | |
6506 | | - | |
6507 | | - | |
6508 | | - | |
6509 | | - | |
6510 | | - | |
6511 | | - | |
6512 | | - | |
6513 | | - | |
6514 | | - | |
6515 | 6501 | | |
6516 | 6502 | | |
6517 | 6503 | | |
| |||
20463 | 20449 | | |
20464 | 20450 | | |
20465 | 20451 | | |
20466 | | - | |
20467 | 20452 | | |
20468 | 20453 | | |
20469 | 20454 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | 120 | | |
122 | 121 | | |
123 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
680 | | - | |
681 | | - | |
| 680 | + | |
682 | 681 | | |
683 | 682 | | |
684 | 683 | | |
| |||
702 | 701 | | |
703 | 702 | | |
704 | 703 | | |
705 | | - | |
| 704 | + | |
706 | 705 | | |
707 | 706 | | |
708 | 707 | | |
| |||
1290 | 1289 | | |
1291 | 1290 | | |
1292 | 1291 | | |
1293 | | - | |
1294 | | - | |
| 1292 | + | |
1295 | 1293 | | |
1296 | | - | |
1297 | | - | |
| 1294 | + | |
1298 | 1295 | | |
1299 | 1296 | | |
1300 | 1297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | 22 | | |
25 | 23 | | |
26 | 24 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 25 | | |
34 | 26 | | |
35 | 27 | | |
| |||
57 | 49 | | |
58 | 50 | | |
59 | 51 | | |
60 | | - | |
| 52 | + | |
61 | 53 | | |
62 | 54 | | |
63 | 55 | | |
| |||
87 | 79 | | |
88 | 80 | | |
89 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
0 commit comments