Skip to content
Commit f2e931ca authored by Sanjoy Das's avatar Sanjoy Das
Browse files

Bugfix: ScalarEvolution incorrectly assumes that the start of certain

add recurrences don't overflow.

This change makes the optimization more restrictive.  It still assumes
that an overflowing `add nsw` is undefined behavior; and this change
will need revisiting once we have a consistent semantics for poison
values.

Differential Revision: http://reviews.llvm.org/D7331

llvm-svn: 228552
parent 68ab0465
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