summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorPhilip Pfaffe <philip.pfaffe@gmail.com>2017-08-04 09:28:09 +0000
committerPhilip Pfaffe <philip.pfaffe@gmail.com>2017-08-04 09:28:09 +0000
commit59d690b96c04599042f348d8843115639b13c613 (patch)
tree74676b5cdc82512f4009fa9c5bfb3f183e8d17ee /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parenta5bc09a86f3bbd5836cf2a86566c459b866b2935 (diff)
downloadbcm5719-llvm-59d690b96c04599042f348d8843115639b13c613.tar.gz
bcm5719-llvm-59d690b96c04599042f348d8843115639b13c613.zip
[Polly][PM] Register polly passes with the opt tool for the new-pm path
Summary: When polly is linked into the tools because of the LLVM_POLLY_LINK_INTO_TOOLS option being set, we need to register its passes with the PassBuilder. Because polly is linked in, we can directly call its callback registration method, which registers the appropriate callbacks with the new PM's PassBuilder. This essentially follows exactly the way it worked with the legacy PM. Reviewers: grosser, chandlerc, bollu Reviewed By: grosser Subscribers: pollydev, llvm-commits Differential Revision: https://reviews.llvm.org/D36273 llvm-svn: 310043
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud