[llvm] [RISCV][GISel] Add ISel supports for SHXADD from Zba extension (PR #67863)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 29 17:31:14 PDT 2023
================
@@ -235,10 +235,7 @@ def SimmShiftRightBy3XForm : SDNodeXForm<imm, [{
}]>;
// Pattern to exclude simm12 immediates from matching.
-def non_imm12 : PatLeaf<(XLenVT GPR:$a), [{
- auto *C = dyn_cast<ConstantSDNode>(N);
- return !C || !isInt<12>(C->getSExtValue());
-}]>;
+def non_imm12 : ComplexPattern<XLenVT, 1, "selectNonImm12", [], [], 0>;
----------------
topperc wrote:
After some digging, I think the answer is no and I'm sad about it.
https://github.com/llvm/llvm-project/pull/67863
More information about the llvm-commits
mailing list