[llvm-dev] Use DominatorTree from CallGraphSCCPass
Taewook Oh via llvm-dev
llvm-dev at lists.llvm.org
Thu Feb 25 14:32:25 PST 2016
I'm trying to improve SimpleInliner to use information given by __builtin_expect instruction (It would be better to not to inline if a call instruction is unlikely to be executed). The problem here is that it is not possible to compute control dependency relationship between the annotated branch instruction and callsites using PostDominatorTree, because PostDominatorTree is a function pass and SimpleInliner is a CallGraphSCCPass. Is there any walk around for this issue?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev