[llvm] VE: Stop using PointerLikeRegClass (PR #157394)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 8 04:49:25 PDT 2025


================
@@ -325,17 +327,17 @@ def VEMEMziiAsmOperand : AsmOperandClass {
 // ASX format uses single assembly instruction format.
 def MEMrri : Operand<iPTR> {
   let PrintMethod = "printMemASXOperand";
-  let MIOperandInfo = (ops ptr_rc, ptr_rc, i64imm);
+  let MIOperandInfo = (ops ve_ptr_rc, ve_ptr_rc, i64imm);
----------------
s-barannikov wrote:

It looks wrong to use ptr_rc for the second sub-operand, which I think isn't a pointer. Maybe just inline ve_ptr_rc everywhere? It should be obvious from the context what it is.


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


More information about the llvm-commits mailing list