Commit cbfcbd3
[RISCV] Don't create BuildPairF64 or SplitF64 nodes without D or Zdinx.
The fix in ReplaceNodeResults is the only one really required for
the known crash.
I couldn't hit the case in LowerOperation because that requires
(f64 (bitcast i64)), but the result type is softened before
the input so we don't get a chance to legalize the input.
The change to the setOperationAction call was an observation that
a i64<->vector cast should not be custom legalized on RV32. The
custom code already calls isTypeLegal on the scalar type.1 parent 2283d50 commit cbfcbd3
File tree
2 files changed
+31
-3
lines changed- llvm
- lib/Target/RISCV
- test/CodeGen/RISCV/rvv
2 files changed
+31
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1438 | 1438 | | |
1439 | 1439 | | |
1440 | 1440 | | |
1441 | | - | |
| 1441 | + | |
1442 | 1442 | | |
| 1443 | + | |
| 1444 | + | |
1443 | 1445 | | |
1444 | 1446 | | |
1445 | 1447 | | |
| |||
6422 | 6424 | | |
6423 | 6425 | | |
6424 | 6426 | | |
6425 | | - | |
| 6427 | + | |
| 6428 | + | |
6426 | 6429 | | |
6427 | 6430 | | |
6428 | 6431 | | |
| |||
12940 | 12943 | | |
12941 | 12944 | | |
12942 | 12945 | | |
12943 | | - | |
| 12946 | + | |
| 12947 | + | |
12944 | 12948 | | |
12945 | 12949 | | |
12946 | 12950 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
0 commit comments