Skip to content
Commit d11311f2 authored by Rafael Espindola's avatar Rafael Espindola
Browse files

Fix PR9127 by reversing the operands even if they have more then one use.

Reversing the operands allows us to fold, but doesn't force us to. Also, at
this point the DAG is still being optimized, so the check for hasOneUse is not
very precise.

llvm-svn: 124773
parent 9aa47fcb
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