[ScalarizeMaskedMemIntrin] Only set the ModifiedDT flag if new basic blocks were...
authorCraig Topper <craig.topper@intel.com>
Fri, 8 Mar 2019 23:03:43 +0000 (23:03 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 8 Mar 2019 23:03:43 +0000 (23:03 +0000)
commitd84f6059105fe400c60fcd5e64674adaf6190613
treed8166b303411cdf4bc809ec546857e7fb84c2473
parent5254d1baae63dc2db6b991996ce1e8313027da6c
[ScalarizeMaskedMemIntrin] Only set the ModifiedDT flag if new basic blocks were added.

There are special cases in the scalarization for constant masks. If we hit one of the special cases we don't need to reset the iteration.

Noticed while starting work on adding expandload/compressstore to this pass.

llvm-svn: 355754
llvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp