[llvm] [RISCV] Align MCOperandPredicates with AsmParser (PR #146184)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 1 20:54:36 PDT 2025
================
@@ -179,6 +179,7 @@ class MCOperand {
LLVM_ABI void print(raw_ostream &OS, const MCContext *Ctx = nullptr) const;
LLVM_ABI void dump() const;
LLVM_ABI bool isBareSymbolRef() const;
+ LLVM_ABI bool isSimpleSymbolRef(MCExpr::Spec &Specifier) const;
----------------
MaskRay wrote:
I think we should try eliminating isBareSymbolRef instead of adding more variants...
https://github.com/llvm/llvm-project/pull/146184
More information about the llvm-commits
mailing list