AsmPrinter: Remove pointless code in inline asm emission
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 13 Oct 2022 17:02:34 +0000 (10:02 -0700)
committerMatt Arsenault <arsenm2@gmail.com>
Fri, 14 Oct 2022 04:12:11 +0000 (21:12 -0700)
commitc427ee979898598c41c7d5ab81835da3043d3aa4
treef13204a417d3907282b20c8523409f8852c9d874
parentd0269dd059b7a9f080f76e1c54285fe58c8c938e
AsmPrinter: Remove pointless code in inline asm emission

This was scanning through def operands looking for the
symbol operand. This is pointless because the symbol is always
the first operand as enforced by the verifier, and all operands
are implicit.
llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp