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 | 60e9b0708a8ce3a7b7eaee9bdceebb2c712514e1 (patch) | |
tree | 5e8db76ecc1d9dbc8e07dd87a2d18b7c7dc528d9 /lib/CodeGen/ELFWriter.cpp | |
parent | c9759e80f45e5690c3ed3b69c2e9ffd5a1bffd9c (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73884 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ELFWriter.cpp')
0 files changed, 0 insertions, 0 deletions