We can just explicitly check if the new unmasked pseudo takes a policy
op, rather than implicitly relying on I->UnmaskedTUPseudo ==
I->UnmaskedPseudo. Split out from another patch to make the diff more
readable.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp | ||
---|---|---|
3186 | I know this is an intermediary patch but I was surprised to see a new check on RISCVII::hasVecPolicyOp(MaskedMCID.TSFlags) being introduced just 4 lines above an existing one. Could we move the setting of TailPolicyOpIdx into there? |
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp | ||
---|---|---|
3186 | Ah you’re right, that makes much more sense. Will do |
I know this is an intermediary patch but I was surprised to see a new check on RISCVII::hasVecPolicyOp(MaskedMCID.TSFlags) being introduced just 4 lines above an existing one. Could we move the setting of TailPolicyOpIdx into there?