[clang] [llvm] [RISCV] Add Andes XAndesperf (Andes Performance) extension. (PR #135110)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 15 11:50:53 PDT 2025


================
@@ -447,18 +447,25 @@ static DecodeStatus decodeSImmNonZeroOperand(MCInst &Inst, uint32_t Imm,
   return decodeSImmOperand<N>(Inst, Imm, Address, Decoder);
 }
 
-template <unsigned N>
-static DecodeStatus decodeSImmOperandAndLsl1(MCInst &Inst, uint32_t Imm,
+template <unsigned T, unsigned N>
+static DecodeStatus decodeSImmOperandAndLslN(MCInst &Inst, uint64_t Imm,
----------------
topperc wrote:

Why do we need to change uint32_t to uint64_t?

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


More information about the llvm-commits mailing list