summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/Scalar.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2016-05-03 21:35:08 +0000
committerJustin Bogner <mail@justinbogner.com>2016-05-03 21:35:08 +0000
commite839c3e6ab376b7b2024b2323b5c52f61af00581 (patch)
tree7d1876f21d5eb42765bfdb46378254ba6749fd87 /llvm/lib/Transforms/Scalar/Scalar.cpp
parent27cb2f12252776825f656997ec4ee8f552259f08 (diff)
downloadbcm5719-llvm-e839c3e6ab376b7b2024b2323b5c52f61af00581.tar.gz
bcm5719-llvm-e839c3e6ab376b7b2024b2323b5c52f61af00581.zip
PM: Check that loop passes preserve a basic set of analyses
A loop pass that didn't preserve this entire set of passes wouldn't play well with other loop passes, since these are generally a basic requirement to do any interesting transformations to a loop. Adds a helper to get the set of analyses a loop pass should preserve, and checks that any loop pass we run satisfies the requirement. llvm-svn: 268444
Diffstat (limited to 'llvm/lib/Transforms/Scalar/Scalar.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud