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

Add a generic expansion transform: A op (B op' C) -> (A op B) op' (A op C)

if both A op B and A op C simplify.  This fires fairly often but doesn't
make that much difference.  On gcc-as-one-file it removes two "and"s and
turns one branch into a select.

llvm-svn: 122399
parent aaedf8be
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