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

Sergei Barannikov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Sep 15 22:04:07 PDT 2025


================
@@ -868,7 +868,11 @@ def crbitm: Operand<i8> {
 def PPCRegGxRCNoR0Operand : AsmOperandClass {
   let Name = "RegGxRCNoR0"; let PredicateMethod = "isRegNumber";
 }
-def ptr_rc_nor0 : Operand<iPTR>, PointerLikeRegClass<1> {
+
+def ptr_rc_nor0 : Operand<iPTR>,
----------------
s-barannikov wrote:

Should it still derive from Operand<iPTR>?

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


More information about the llvm-branch-commits mailing list