[llvm] [X86] Fixed truncated masked stores (PR #179853)

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 5 01:09:47 PST 2026


================
@@ -54187,6 +54090,14 @@ static SDValue reduceMaskedStoreToScalarStore(MaskedStoreSDNode *MS,
   SDValue Extract =
       DAG.getNode(ISD::EXTRACT_VECTOR_ELT, DL, EltVT, Value, VecIndex);
 
+  if (MS->isTruncatingStore()) {
+    if (EltVT.isFloatingPoint())
+      return SDValue();
----------------
KanRobert wrote:

Why floating point not work?

https://github.com/llvm/llvm-project/pull/179853


More information about the llvm-commits mailing list