aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-16 19:15:55 +0000
committerChris Lattner <sabre@nondot.org>2010-02-16 19:15:55 +0000
commitf8695c1ee9bb8b18a4e1991591fa92383d427435 (patch)
tree3b6d87744cf72b11da4bff8772e7385f4aa8843c /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parentfe17d2550b84202b599a86e0f4f4f1f4729deb30 (diff)
downloadllvm-f8695c1ee9bb8b18a4e1991591fa92383d427435.zip
llvm-f8695c1ee9bb8b18a4e1991591fa92383d427435.tar.gz
llvm-f8695c1ee9bb8b18a4e1991591fa92383d427435.tar.bz2
convert the new matcher to check intermediate nodes for a single
use and only call IsProfitableToFold/IsLegalToFold on the load being folded, like the old dagiselemitter does. This substantially simplifies the code and improves opportunities for sharing. llvm-svn: 96368
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions