[PATCH] D28336: Replace addEarlyAsPossiblePasses callback with adjustPassManager
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 4 16:55:42 PST 2017
rampitec created this revision.
rampitec added a reviewer: jlebar.
rampitec added a subscriber: llvm-commits.
rampitec set the repository for this revision to rL LLVM.
Herald added subscribers: nhaehnle, arsenm, jholewinski.
Herald added a reviewer: tstellarAMD.
This change introduces adjustPassManager target callback giving a target an opportunity to tweak PassManagerBuilder before pass managers are populated.
This generalizes and replaces addEarlyAsPossiblePasses target callback. In particular that can be used to add custom passes to extension points other than EP_EarlyAsPossible.
If approved the similar change to clang's BackendUtil.cpp will be created.
Repository:
rL LLVM
https://reviews.llvm.org/D28336
Files:
include/llvm/Target/TargetMachine.h
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
lib/Target/AMDGPU/AMDGPUTargetMachine.h
lib/Target/NVPTX/NVPTXTargetMachine.cpp
lib/Target/NVPTX/NVPTXTargetMachine.h
tools/opt/opt.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28336.83167.patch
Type: text/x-patch
Size: 4250 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170105/df606e2d/attachment.bin>
More information about the llvm-commits
mailing list