================
@@ -3343,6 +3349,9 @@ let append Predicates = [IsRV64] in {
 
   def : PatGpr<bitreverse, REV_RV64>;
 
+  // 32-bit shift-add pattern
+  def : PatGprGpr<riscv_ssh1sadd, PSSH1SADD_W>;
----------------
topperc wrote:

This doesn't look right. It's selecting an i64 type to an vector operation. We 
need to insert the i32 into a v2i32 vector and extract the lower element.

https://github.com/llvm/llvm-project/pull/239234
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to