[llvm] [AArch64] Lower factor-of-2 interleaved stores to STNP (PR #177938)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 10 05:47:25 PST 2026
================
@@ -18465,6 +18465,43 @@ bool hasNearbyPairedStore(Iter It, Iter End, Value *Ptr, const DataLayout &DL) {
return false;
}
+// Coordinated with STNP handling in
+// `llvm/lib/Target/AArch64/AArch64InstrInfo.td` and
+// `LowerNTStore`
+static bool isLegalNTStore(Type *DataType, Align Alignment,
----------------
fhahn wrote:
can we use this in `LowerNTStore`? what I am thinking is assert that `isLegalNTStore` performs a lowering. Asserting the inverse probably won't work
https://github.com/llvm/llvm-project/pull/177938
More information about the llvm-commits
mailing list