Skip to content

Commit b1e99a6

Browse files
committed
[LV] Drop redundant comment from createEdgeMask (NFC).
Follow-up to remove a redundant comment post-commit #91897
1 parent c7c5666 commit b1e99a6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8012,9 +8012,6 @@ VPValue *VPRecipeBuilder::createEdgeMask(BasicBlock *Src, BasicBlock *Dst) {
80128012
EdgeMask = Builder.createNot(EdgeMask, BI->getDebugLoc());
80138013

80148014
if (SrcMask) { // Otherwise block in-mask is all-one, no need to AND.
8015-
// Use LogicalAnd as it does not propagate poison, i.e. does not introduce
8016-
// new UB if SrcMask is false and EdgeMask is poison. Using 'and' here
8017-
// introduces undefined behavior.
80188015
// The bitwise 'And' of SrcMask and EdgeMask introduces new UB if SrcMask
80198016
// is false and EdgeMask is poison. Avoid that by using 'LogicalAnd'
80208017
// instead which generates 'select i1 SrcMask, i1 EdgeMask, i1 false'.

0 commit comments

Comments
 (0)