[llvm] [RISCV] Implement Intrinsics and CodeGen Support for XCValu Extension… (PR #78138)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 15 11:18:17 PST 2024


================
@@ -662,6 +662,8 @@ let Predicates = [HasVendorXCVelw, IsRV32], hasSideEffects = 0,
 def cv_tuimm2 : TImmLeaf<XLenVT, [{return isUInt<2>(Imm);}]>;
 def cv_tuimm5 : TImmLeaf<XLenVT, [{return isUInt<5>(Imm);}]>;
 def cv_uimm10 : ImmLeaf<XLenVT, [{return isUInt<10>(Imm);}]>;
+def cv_uimm32: Operand<XLenVT>,
----------------
topperc wrote:

With the precedent set by `cv_uimm10`, `cv_tuimm5, etc., I would expect `cv_uimm32` to be isUint<32>(Imm), but its not. 

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


More information about the llvm-commits mailing list