Skip to content
Commit 318a89dd authored by Duncan Sands's avatar Duncan Sands
Browse files

When linearizing a multiplication, return at once if we see a factor of zero,

since then the entire expression must equal zero (similarly for other operations
with an absorbing element).  With this in place a bunch of reassociate code for
handling constants is dead since it is all taken care of when linearizing.  No
intended functionality change.

llvm-svn: 158398
parent 71dc02d6
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