[LoopDist] Split main class. NFC
authorAdam Nemet <anemet@apple.com>
Wed, 27 Apr 2016 00:31:03 +0000 (00:31 +0000)
committerAdam Nemet <anemet@apple.com>
Wed, 27 Apr 2016 00:31:03 +0000 (00:31 +0000)
commit61399ac424373662b72515e1c47b799c8204536f
tree26bf65210955377f86dff38dc372b289b39db5f2
parent3f83dbeed9019fa7bb5f977fb7f717691f4deb35
[LoopDist] Split main class. NFC

This splits out the per-loop functionality from the Pass class.

With this the fact whether the loop is forced-distribute with the new
metadata/pragma can be cached in the per-loop class rather than passed
around.

llvm-svn: 267643
llvm/lib/Transforms/Scalar/LoopDistribute.cpp