[llvm-branch-commits] [llvm] [AArch64] Generalize the instruction size checking in AsmPrinter (PR #110108)

David Green via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Sep 30 12:35:01 PDT 2024


================
@@ -2546,6 +2510,7 @@ void AArch64AsmPrinter::emitInstruction(const MachineInstr *MI) {
     TLSDescCall.setOpcode(AArch64::TLSDESCCALL);
     TLSDescCall.addOperand(Sym);
     EmitToStreamer(*OutStreamer, TLSDescCall);
+    --InstsEmitted; // no code emitted
----------------
davemgreen wrote:

Will this need #ifndef NDEBUG?

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


More information about the llvm-branch-commits mailing list