[llvm] [WebAssembly] MC support for acquire-release atomics (PR #183656)

Derek Schuff via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 3 16:47:08 PST 2026


================
@@ -370,6 +371,30 @@ void WebAssemblyInstPrinter::printWebAssemblyP2AlignOperand(const MCInst *MI,
   O << ":p2align=" << Imm;
 }
 
+void WebAssemblyInstPrinter::printWebAssemblyMemOrderOperand(const MCInst *MI,
----------------
dschuff wrote:

This is done. I tweaked it so that acqrel can be disassembled even when the feature is not enabled (so that feature flags do not need to be passed to the disassembler) but that "sqcst" won't be printed when the feature is not enabled.

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


More information about the llvm-commits mailing list