Skip to content
Commit ed627385 authored by Dan Gohman's avatar Dan Gohman
Browse files

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
parent 2bc22305
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment