Commit b5c7bc2
committed
[RISCV][TTI] Fix a misuse of the getShuffleCost API [NFC]
The getShuffleCost api expects to only deal with non-length changing
shuffles. We were failing to extend the mask appropriately before
invoking it. This came up in llvm#128537
in discussion of a potential invariant, but is otherwise unrelated.1 parent 8039f8e commit b5c7bc2
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
484 | | - | |
485 | 484 | | |
486 | 485 | | |
487 | 486 | | |
| |||
889 | 888 | | |
890 | 889 | | |
891 | 890 | | |
892 | | - | |
| 891 | + | |
893 | 892 | | |
894 | 893 | | |
| 894 | + | |
895 | 895 | | |
896 | | - | |
| 896 | + | |
897 | 897 | | |
898 | 898 | | |
899 | 899 | | |
| |||
0 commit comments