summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-12-23 20:57:35 +0000
committerOwen Anderson <resistor@mac.com>2010-12-23 20:57:35 +0000
commit5d690d4168ae24e22723330be10fa006b2ff072e (patch)
tree515ad00a5d3cf36c3132be52bf052c57fb1bd11f /clang/lib/Driver/Tools.cpp
parent31c39dac6db4423546e3018ad75b409870f07ea8 (diff)
downloadbcm5719-llvm-5d690d4168ae24e22723330be10fa006b2ff072e.tar.gz
bcm5719-llvm-5d690d4168ae24e22723330be10fa006b2ff072e.zip
It is possible for SimplifyCFG to cause PHI nodes to become redundant too late in the optimization
pipeline to be caught by instcombine, and it's not feasible to catch them in SimplifyCFG because the use-lists are in an inconsistent state at the point where it could know that it need to simplify them. Instead, have CodeGenPrepare look for trivially redundant PHIs as part of its general cleanup effort. llvm-svn: 122516
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud