[llvm] [AArch64][llvm] Restrict luti6 assembly (4 regs, 8-bit) to 0 <= Zn <= 7 (PR #200751)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 07:51:06 PDT 2026


================
@@ -1369,6 +1380,10 @@ def ZZZ_Any  : RegisterOperand<ZPR3, "printTypedVectorList<0,0>"> {
   let ParserMatchClass = ZPRVectorList<0, 3>;
 }
 
+def ZZZ_Any_Z0Z7  : RegisterOperand<ZPR3, "printTypedVectorList<0,0>"> {
----------------
Lukacma wrote:

This probably shouldn't use ZPR3 regClass as that one contains all register triplets. Might cause an issue during register allocation though not super familiar with that part.

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


More information about the llvm-commits mailing list