[llvm] [PowerPC] Add error for incorrect use of memory operands (PR #114277)

Hubert Tong via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 4 18:58:15 PST 2024


================
@@ -184,6 +187,7 @@ struct PPCOperand : public MCParsedAsmOperand {
 
   struct ImmOp {
     int64_t Val;
+    bool IsMemOp;
----------------
hubert-reinterpretcast wrote:

Technically, this should be `IsMemOpBase` as this is only one component of a memory operand.

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


More information about the llvm-commits mailing list