Revert "Remove unnecessary null check. NFC."
authorPete Cooper <peter_cooper@apple.com>
Mon, 27 Jul 2015 18:37:58 +0000 (18:37 +0000)
committerPete Cooper <peter_cooper@apple.com>
Mon, 27 Jul 2015 18:37:58 +0000 (18:37 +0000)
commit11bd958cb673b1af9892ed820087b8a4cc62a480
treee25f15b7f615e8f8825c798ce7a4d4b1326fb440
parentc1b7c09ac40cbf803edd310b3b8d5e9d2701ab77
Revert "Remove unnecessary null check.  NFC."

This reverts commit r243167.

Duncan pointed out that dyn_cast can return null in these cases, so this
was an unsafe commit to make.  Sorry for the noise.

Worryingly there were no tests which fail...

llvm-svn: 243302
llvm/lib/Transforms/Scalar/LoopInterchange.cpp