diff options
author | Dan Gohman <gohman@apple.com> | 2009-06-22 15:09:28 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-06-22 15:09:28 +0000 |
commit | ed627385debcc1e5fe9a2502a99138f7dc2bdab7 (patch) | |
tree | 3239a2b556c365aba3c1ebdc99d1594ecd0de772 /clang/lib/Sema/ParseAST.cpp | |
parent | 2bc22305d2eac43ac37519bdfd82b34b745dfc69 (diff) | |
download | bcm5719-llvm-ed627385debcc1e5fe9a2502a99138f7dc2bdab7.tar.gz bcm5719-llvm-ed627385debcc1e5fe9a2502a99138f7dc2bdab7.zip |
Make use of getUMinFromMismatchedTypes when computing backedge-taken
counts for loops with multiple exits, replacing more conservative code
which only handled constants. This is derived from a patch by
Nick Lewycky.
This also fixes llc aborts in ClamAV and others, as
getUMinFromMismatchedTypes takes care of balancing the types before
working with them.
llvm-svn: 73884
Diffstat (limited to 'clang/lib/Sema/ParseAST.cpp')
0 files changed, 0 insertions, 0 deletions