================
@@ -5604,3 +5611,6 @@ def : Pat<(int_ppc_dcbtt ForceXForm:$dst),
 
 def : Pat<(int_ppc_stfiw ForceXForm:$dst, f64:$XT),
           (STFIWX f64:$XT, ForceXForm:$dst)>;
+
+def : Pat<(PPCstat i32:$val, ptr_rc_nor0:$ptr, timm:$fc),
+          (STWAT $val, $ptr, $fc)>;
----------------
RolandF77 wrote:

Can you just use the underlying class XForm_base_r3xo_memOp? It kind of looks 
like the only purpose of the X_RD5_RS5_IM5 class it to use the other class but 
prevent patterns. Maybe that makes sense for the loads, which are pretty weird, 
but for stores patterns may be okay.

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

Reply via email to