Skip to content
Commit 6791d63e authored by Nate Begeman's avatar Nate Begeman
Browse files

Implement a common missing fold, (add (add x, c1), c2) -> (add x, c1+c2).

This restores all of stanford to being identical with and without the dag
combiner with the add folding turned off in sd.cpp.

llvm-svn: 23258
parent 5ea0ee7b
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