[llvm] [AArch64] Separate PNR into its own Register Class (PR #65306)
Matthew Devereau via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 13 06:03:07 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)
----------------
MDevereau wrote:
No it's not needed, I've removed the normal predicate logic and tidied this if block up a bit.
https://github.com/llvm/llvm-project/pull/65306
More information about the llvm-commits
mailing list