Remove unnecessary null check. NFC.
authorPete Cooper <peter_cooper@apple.com>
Fri, 24 Jul 2015 21:38:01 +0000 (21:38 +0000)
committerPete Cooper <peter_cooper@apple.com>
Fri, 24 Jul 2015 21:38:01 +0000 (21:38 +0000)
commitb0fd31a910a0f241019ec88a82d0c9d611ea22d0
treea0c8c4f2dfb47eba06c0d794aac7e29eb1aff148
parent9f2f1650c4ec4c151e2aff052606f0841f556f73
Remove unnecessary null check.  NFC.

Since both places which set this variable do so with dyn_cast, and not
dyn_cast_or_null, its impossible to get a nullptr here, so we can remove
the check.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243167 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopInterchange.cpp