ScopInfo: Remove indentation in hoistInvariantLoads
commit2d34257f057e7509f70430f78ddd9a1dfd6b65fb
authorTobias Grosser <tobias@grosser.es>
Mon, 29 Feb 2016 07:29:42 +0000 (29 07:29 +0000)
committerTobias Grosser <tobias@grosser.es>
Mon, 29 Feb 2016 07:29:42 +0000 (29 07:29 +0000)
tree311f18291d5b9f214107ee3ae6c3869da7234170
parente97e65079b7bd5fcf24cedd31f12b3061695f4e4
ScopInfo: Remove indentation in hoistInvariantLoads

We move verifyInvariantLoads out of this function to allow for an early return
without the need for code duplication. A similar transformation was suggested
by Johannes Doerfert in post commit review of r262033.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@262203 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScopInfo.cpp