[llvm] [AArch64] Separate PNR into its own Register Class (PR #65306)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 11 08:58:18 PDT 2023
================
@@ -1348,9 +1348,14 @@ void AArch64InstPrinter::printPredicateAsCounter(const MCInst *MI,
const MCSubtargetInfo &STI,
raw_ostream &O) {
unsigned Reg = MI->getOperand(OpNum).getReg();
+ O << "pn";
+ if (Reg >= AArch64::P0 && Reg <= AArch64::P15)
----------------
sdesmalen-arm wrote:
Is this change needed? I would expect a predicate-as-counter to be printed as a predicate-as-mask, but not the other way around.
https://github.com/llvm/llvm-project/pull/65306
More information about the llvm-commits
mailing list