[llvm-branch-commits] [clang] [llvm] [PowerPC] Add support for AMO store builtins (PR #170933)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Jan 14 12:38:39 PST 2026
================
@@ -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:
Is there some reason the pattern can't go directly in the def STWAT, like with frsqrte?
https://github.com/llvm/llvm-project/pull/170933
More information about the llvm-branch-commits
mailing list