[llvm] [LV] Invalidate interleave groups with dead members (PR #205584)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 25 00:20:36 PDT 2026


================
@@ -1715,6 +1715,30 @@ void InterleavedAccessInfo::invalidateGroupsRequiringScalarEpilogue() {
   RequiresScalarEpilogue = false;
 }
 
+void InterleavedAccessInfo::invalidateDeadGroups(
+    const SmallPtrSetImpl<const Value *> &DeadValues) {
+  if (InterleaveGroups.empty() || DeadValues.empty())
----------------
lukel97 wrote:

Nit, is the InterleaveGroups.empty() check needed?

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


More information about the llvm-commits mailing list