[llvm] [LoongArch] Add support for the ud macro instruction (PR #171583)

Lu Weining via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 10 18:12:06 PST 2025


================
@@ -157,6 +157,29 @@ static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm,
   return MCDisassembler::Success;
 }
 
+// Decode AMOSWAP.W and UD, which share the same base encoding.
----------------
SixWeining wrote:

```suggestion
// Decode AMSWAP.W and UD, which share the same base encoding.
```

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


More information about the llvm-commits mailing list