Repository navigation
Commit e996f1d
committed
[RISCV] Add another isel pattern for slliu.w.
Previously we only matched (and (shl X, C1), 0xffffffff << C1)
which matches the InstCombine canonicalization order. But its
possible to see (shl (and X, 0xffffffff), C1) if the pattern
is introduced in SelectionDAG. For example, through expansion of
a GEP.1 parent 0f8386c commit e996f1d
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
842 | 842 | | |
843 | 843 | | |
844 | 844 | | |
| 845 | + | |
| 846 | + | |
845 | 847 | | |
846 | 848 | | |
847 | 849 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1070 | 1070 | | |
1071 | 1071 | | |
1072 | 1072 | | |
1073 | | - | |
1074 | | - | |
| 1073 | + | |
1075 | 1074 | | |
1076 | 1075 | | |
1077 | 1076 | | |
1078 | 1077 | | |
1079 | 1078 | | |
1080 | 1079 | | |
1081 | 1080 | | |
1082 | | - | |
1083 | | - | |
| 1081 | + | |
1084 | 1082 | | |
1085 | 1083 | | |
1086 | 1084 | | |
| |||
0 commit comments