summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/ModuleUtils.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2019-04-15 18:15:08 +0000
committerPhilip Reames <listmail@philipreames.com>2019-04-15 18:15:08 +0000
commite46d77d1d91eb498e261799df24bfd564e0c140b (patch)
tree2de3f96afe2e1bc0d520636349188cce218b453d /llvm/lib/Transforms/Utils/ModuleUtils.cpp
parente1e1bd7f9c4a1e22cb3813c6297c543fc3be3a9d (diff)
downloadbcm5719-llvm-e46d77d1d91eb498e261799df24bfd564e0c140b.tar.gz
bcm5719-llvm-e46d77d1d91eb498e261799df24bfd564e0c140b.zip
[LoopPred] Stop passing around builders [NFC]
This is a preparatory patch for D60093. This patch itself is NFC, but while preparing this I noticed and committed a small hoisting change in rL358419. The basic structure of the new scheme is that we pass around the guard ("the using instruction"), and select an optimal insert point by examining operands at each construction point. This seems conceptually a bit cleaner to start with as it isolates the knowledge about insertion safety at the actual insertion point. Note that the non-hoisting path is not actually used at the moment. That's not exercised until D60093 is rebased on this one. Differential Revision: https://reviews.llvm.org/D60718 llvm-svn: 358434
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud