[PR16756] Use SSAUpdaterBulk in JumpThreading.
authorMichael Zolotukhin <mzolotukhin@apple.com>
Mon, 9 Apr 2018 23:37:37 +0000 (23:37 +0000)
committerMichael Zolotukhin <mzolotukhin@apple.com>
Mon, 9 Apr 2018 23:37:37 +0000 (23:37 +0000)
commitc6d2d65f37b2d9c3d219cfd48e3af3ff183767de
treeaad2753d584a77819d73f8538bbf55848528e556
parent52b064f3d3758ce76ab49c0831ef385387ecb3b7
[PR16756] Use SSAUpdaterBulk in JumpThreading.

Summary:
SSAUpdater is a bottleneck in JumpThreading, and this patch improves the
situation by using SSAUpdaterBulk instead.

Compile time impact: no noticable changes on CTMark, a big improvement
on the test from PR16756.

Reviewers: dberlin, davide, MatzeB

Subscribers: llvm-commits, hiraditya

Differential Revision: https://reviews.llvm.org/D44282

llvm-svn: 329644
llvm/lib/Transforms/Scalar/JumpThreading.cpp