[llvm] [RISCV] Porting hasAllNBitUsers to RISCV GISel for instruction select (PR #124678)

Luke Quinn via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 3 08:00:30 PST 2025


================
@@ -1943,17 +1943,21 @@ def : Pat<(i64 (shl (and GPR:$rs1, 0xffffffff), uimm5:$shamt)),
 
 class binop_allhusers<SDPatternOperator operator>
     : PatFrag<(ops node:$lhs, node:$rhs),
-              (XLenVT (operator node:$lhs, node:$rhs)), [{
+              (XLenVT(operator node:$lhs, node:$rhs)), [{
----------------
lquinn2015 wrote:

This was fixed in my rebase 

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


More information about the llvm-commits mailing list