[llvm] [RISCV][GISEL] instruction-select vmclr (PR #110782)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 2 09:58:38 PDT 2024
================
@@ -50,6 +50,11 @@ def GIAddrRegImm :
GIComplexOperandMatcher<s32, "selectAddrRegImm">,
GIComplexPatternEquiv<AddrRegImm>;
+def GIVLOpS32 : GIComplexOperandMatcher<s32, "selectVLOp">,
+ GIComplexPatternEquiv<VLOp>;
+def GIVLOpS64 : GIComplexOperandMatcher<s64, "selectVLOp">,
----------------
topperc wrote:
Pretty sure it works because there is an explicit cast around the `VLOp` part in this pattern `def VLOpFrag : PatFrag<(ops), (XLenVT (VLOp (XLenVT AVL:$vl)))>`
https://github.com/llvm/llvm-project/pull/110782
More information about the llvm-commits
mailing list