[LoopSimplify] Reuse changeToUnreachable
authorDavid Majnemer <david.majnemer@gmail.com>
Sun, 24 Jan 2016 19:32:52 +0000 (19:32 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sun, 24 Jan 2016 19:32:52 +0000 (19:32 +0000)
commitc67668ff21e3e8b6098668bc1f696a9f2cec6631
tree330fbbf4d67cdfbba23a2bc9a6464daabd20c070
parent232905089ee8975af03e4751d8e456e0bb21d6c3
[LoopSimplify] Reuse changeToUnreachable

Use existing functionality provided in changeToUnreachable instead of
reinventing it in LoopSimplify.

No functionality change is intended.

llvm-svn: 258663
llvm/lib/Transforms/Utils/LoopSimplify.cpp