summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2015-07-31 14:31:35 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2015-07-31 14:31:35 +0000
commitdfc1d96ef8b17e7c3cca31d3a6591dfd04aa074b (patch)
treecfd49467bddfd66ba6f98f31b68c7ac1cc48da7d /llvm/lib/Object/COFFObjectFile.cpp
parent8b559ecf52f9d5964bf5d36ba5530ae6841563fd (diff)
downloadbcm5719-llvm-dfc1d96ef8b17e7c3cca31d3a6591dfd04aa074b.tar.gz
bcm5719-llvm-dfc1d96ef8b17e7c3cca31d3a6591dfd04aa074b.zip
[CaptureTracker] Provide an ordered basic block to PointerMayBeCapturedBefore
This patch is a follow up from r240560 and is a step further into mitigating the compile time performance issues in CaptureTracker. By providing the CaptureTracker with a "cached ordered basic block" instead of computing it every time, MemDepAnalysis can use this cache throughout its calls to AA->callCapturesBefore, avoiding to recompute it for every scanned instruction. In the same testcase used in r240560, compile time is reduced from 2min to 30s. This also fixes PR22348. rdar://problem/19230319 Differential Revision: http://reviews.llvm.org/D11364 llvm-svn: 243750
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud