[PATCH] D132700: [DSE] Add value type checks for masked store candidates in Dead Store Elimination

luxufan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 27 01:38:47 PDT 2022


StephenFan added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp:251
+    if (KillingII->getArgOperand(0)->getType() !=
+        DeadII->getArgOperand(0)->getType())
+      return OW_Unknown;
----------------
Is it possible to relax the comparison from type to type size?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132700/new/

https://reviews.llvm.org/D132700



More information about the llvm-commits mailing list