[llvm] [AMDGPU][AsmParser]: Use dummy operand for parsing buffer_ SWZ operand. (PR #165305)

Jeffrey Byrnes via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 27 13:10:44 PDT 2025


jrbyrnes wrote:

> I assume this is related to recently reported llvm-mca crash.

Yes, llvm-mca assumes each operand counted by MCInstrDesc numOperands will be in MCInst.operands. By not parsing a dummy for the SWZ, we violate this assumption and llvm-mca fails.

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


More information about the llvm-commits mailing list