[clang] [llvm] [RISCV] Add Qualcomm uC Xqcibi (Branch Immediate) extension (PR #130779)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 18 03:36:32 PDT 2025


================
@@ -825,6 +825,17 @@ struct RISCVOperand final : public MCParsedAsmOperand {
            VK == RISCVMCExpr::VK_RISCV_None;
   }
 
+  bool isSImm5NonZero() const {
+    if (!isImm())
+      return false;
+    RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_RISCV_None;
----------------
RKSimon wrote:

Should this be RISCVMCExpr::VK_None ? 

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


More information about the llvm-commits mailing list