[llvm-branch-commits] [llvm] PPC: Replace PointerLikeRegClass with RegClassByHwMode (PR #158777)

Sergei Barannikov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Sep 16 06:33:39 PDT 2025


================
@@ -902,7 +908,9 @@ def memri34_pcrel : Operand<iPTR> { // memri, imm is a 34-bit value.
 def PPCRegGxRCOperand : AsmOperandClass {
   let Name = "RegGxRC"; let PredicateMethod = "isRegNumber";
 }
-def ptr_rc_idx : Operand<iPTR>, PointerLikeRegClass<0> {
+def ptr_rc_idx : Operand<iPTR>,
----------------
s-barannikov wrote:

This one is still using double inheritance.

https://github.com/llvm/llvm-project/pull/158777


More information about the llvm-branch-commits mailing list