This is the G_SEXT counterpart to the existing G_ZEXT/G_ANYEXT combines.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h | ||
---|---|---|
198 | This seems like a fixable defect. You can check for any constant with the IR one |
llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h | ||
---|---|---|
198 | Yeah, we can already use m_ICst but it doesn't save much code, we need the MachineInstr def anyway. I'll remove this comment from here and the other places. |
This seems like a fixable defect. You can check for any constant with the IR one