ScopInfo: Remove indentation in hoistInvariantLoads
authorTobias Grosser <tobias@grosser.es>
Mon, 29 Feb 2016 07:29:42 +0000 (07:29 +0000)
committerTobias Grosser <tobias@grosser.es>
Mon, 29 Feb 2016 07:29:42 +0000 (07:29 +0000)
commit0865e775bf6e9e2ceff264ccb7891bc91df933b7
tree2a09ab2d0f2c2bfea510830667ef34b8d81120b1
parenta4835c5673cca9fe60b9e8d196083fed27aeb606
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.

llvm-svn: 262203
polly/lib/Analysis/ScopInfo.cpp