When generating expansion for instruction with complex operands, the
BaseIdx variable was not properly updated. This resulted in
spurious error messages about mismatched operands.
The reworked algorithm simply walks through operands mapping their
logical indices into MI indices.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/utils/TableGen/PseudoLoweringEmitter.cpp | ||
---|---|---|
125 | Copied from here. |
Comment Actions
OK, this does not work. This triggers assert(BaseIdx == 0 && "Named subargument in pseudo expansion?!"); in some cases. Need to dive deeper into this indexing logic.
llvm/utils/TableGen/PseudoLoweringEmitter.cpp | ||
---|---|---|
125 | The comment is no longer relevant. |
Comment Actions
Abandoning as no one seems to be interested, and it is no longer relevant for our target.
Copied from here.