================
@@ -2611,6 +2621,16 @@ let append Predicates = [IsRV32] in {
   def : PatGprImm<sshlsat, SSLAI, uimm5>;
   // No SSLLI
 
+  // 32-bit saturating and rounding shift patterns
+  def : PatGprImm<riscv_pssha, SSLAI, uimm5>;
----------------
sihuan wrote:

Done for all four: riscv_ssha/sshar/sshl/sshlr. They're used with i32 on RV32 
and v2i32 on RV64.

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

Reply via email to