[llvm] [RISCV] Support RVV register overlapping constraints (PR #145004)
Pengcheng Wang via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 22 21:05:50 PDT 2025
================
@@ -2655,6 +2655,86 @@ void RISCVInstrInfo::genAlternativeCodeSequence(
}
}
+int RISCVInstrInfo::getOverlapConstraintsFromMI(uint16_t RVVPseudoOpcode) {
+ const RISCVVPseudosTable::PseudoInfo *RVV =
+ RISCVVPseudosTable::getPseudoInfo(RVVPseudoOpcode);
+
+ if (!RVV)
+ return 0;
+
+ return RVV->TargetOverlapConstraintType;
----------------
wangpc-pp wrote:
Can this be stored in TSFlags?
https://github.com/llvm/llvm-project/pull/145004
More information about the llvm-commits
mailing list