aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AlphaTargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-11-18 07:31:42 +0000
committerChris Lattner <sabre@nondot.org>2005-11-18 07:31:42 +0000
commit36ba5006df1dee8bb8789ee817f169af022ae239 (patch)
tree48ef02f0189509f6c94a5c4ac340be761d9f4091 /lib/Target/Alpha/AlphaTargetMachine.cpp
parentfed40df846438356d9edd5f6bd5191cd900e3c59 (diff)
Implement a refinement to the mem2reg algorithm for cases where an alloca
has a single def. In this case, look for uses that are dominated by the def and attempt to rewrite them to directly use the stored value. This speeds up mem2reg on these values and reduces the number of phi nodes inserted. This should address PR665. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24411 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions