diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-10 01:57:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-10 01:57:31 +0000 |
commit | 38c44ea6b03fa861b23e72961781434cdea28d1f (patch) | |
tree | edb051946e886fbda306d664a172c295af5801a7 /clang/lib/CodeGen/Mangle.cpp | |
parent | ee89d5a4d0dd5c0e2ad7cb282c394fde63893d8f (diff) | |
download | bcm5719-llvm-38c44ea6b03fa861b23e72961781434cdea28d1f.tar.gz bcm5719-llvm-38c44ea6b03fa861b23e72961781434cdea28d1f.zip |
make jump threading recursively simplify expressions instead of doing it
just one level deep. On the testcase we go from getting this:
F1: ; preds = %T2
%F = and i1 true, %cond ; <i1> [#uses=1]
br i1 %F, label %X, label %Y
to a fully threaded:
F1: ; preds = %T2
br label %Y
This changes gets us to the point where we're forming (too many) switch
instructions on doug's strswitch testcase.
llvm-svn: 86646
Diffstat (limited to 'clang/lib/CodeGen/Mangle.cpp')
0 files changed, 0 insertions, 0 deletions