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

Heejin Ahn via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 3 21:06:21 PST 2026


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

> 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)

I'm not necessarily opposed to this but I'm not sure whether we follow this policy for other stuff (I think we don't)

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


More information about the llvm-commits mailing list