[LoopPredication] Simplify widenable condition handling [NFC]
authorPhilip Reames <listmail@philipreames.com>
Tue, 2 Apr 2019 02:42:57 +0000 (02:42 +0000)
committerPhilip Reames <listmail@philipreames.com>
Tue, 2 Apr 2019 02:42:57 +0000 (02:42 +0000)
commitadb3ece2164105373a41b4e043dc0694d49ca0d8
tree47eacecbe58c3d5cbf48009d2efa867c8ee424c3
parentc0ebfbe3f3215e15ff5d6b69218576ec07317821
[LoopPredication] Simplify widenable condition handling [NFC]

The code doesn't actually need any of the information about the widenable condition at this level.  The only thing we need is to ensure the WC call is the last thing anded in, and even that is a quirk we should really look to remove.

llvm-svn: 357448
llvm/lib/Transforms/Scalar/LoopPredication.cpp