aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-28 14:54:10 +0000
committerChris Lattner <sabre@nondot.org>2009-11-28 14:54:10 +0000
commitd5bd369a0f8130927f4a690f8941e5974f1481de (patch)
treeefbabf6717ee5a7f364aac0f58e1b997e411992a /clang/lib/CodeGen/ModuleBuilder.cpp
parentbaa1bc44af7d162fc1ce62a5f394cb1fac512023 (diff)
downloadllvm-d5bd369a0f8130927f4a690f8941e5974f1481de.zip
llvm-d5bd369a0f8130927f4a690f8941e5974f1481de.tar.gz
llvm-d5bd369a0f8130927f4a690f8941e5974f1481de.tar.bz2
enable code to handle un-phi-translatable cases more aggressively:
if we don't have an address expression available in a predecessor, then model this as the value being clobbered at the end of the pred block instead of being modeled as a complete phi translation failure. This is important for PRE of loads because we want to see that the load is available in all but this predecessor, and complete phi translation failure results in not getting any information about predecessors. This doesn't do anything until I renable code insertion since PRE now sees that it is available in all but one predecessors, but can't insert the addressing in the predecessor that is missing it to eliminate the redundancy. llvm-svn: 90037
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions