Since there is no guaranteed correspondence of SDNode and MI operands, we need
getters simular to RISCVII::get*OpNum for SDNodes.
More uses of getVecPolicyOpIdx will be added in D130895.
Paths
| Differential D134179
[NFC][RISCV] Move calculations of SDNode policy operand idx to a separate function ClosedPublic Authored by asi-sc on Sep 19 2022, 5:43 AM.
Details Summary Since there is no guaranteed correspondence of SDNode and MI operands, we need More uses of getVecPolicyOpIdx will be added in D130895.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 19 2022, 6:05 PM Comment Actions @arcbbb, could you please submit the patch on my behalf? Author: Anton Sidorenko <anton.sidorenko@syntacore.com> Closed by commit rG3cd503f18161: [NFC][RISCV] Move calculations of SDNode policy operand idx to a separate… (authored by asi-sc, committed by arcbbb). · Explain WhySep 20 2022, 10:37 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 461191 llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
|