Make sure shifts are legal/specified by the legalizerinfo before creating it (in the LegalizerCombiner)
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM with nit.
| include/llvm/CodeGen/GlobalISel/LegalizerCombiner.h | ||
|---|---|---|
| 71 ↗ | (On Diff #120153) | You should check the same thing for G_AND and G_CONSTANT. |
| include/llvm/CodeGen/GlobalISel/LegalizerCombiner.h | ||
|---|---|---|
| 71 ↗ | (On Diff #120153) | Thanks. Will do it in the commit. |
| llvm/trunk/include/llvm/CodeGen/GlobalISel/LegalizerCombiner.h | ||
|---|---|---|
| 98 | You forgot this G_CONSTANT :) | |
| llvm/trunk/include/llvm/CodeGen/GlobalISel/LegalizerCombiner.h | ||
|---|---|---|
| 98 | Fixed - r316694 | |
You forgot this G_CONSTANT :)