Skip to content
Commit fb44822a authored by Evan Cheng's avatar Evan Cheng
Browse files

Fix a bug in SelectScalarSSELoad. Since the load is wrapped in a

SCALAR_TO_VECTOR, even if the hasOneUse() check pass we may end up folding
the load into two instructions. Make sure we check the SCALAR_TO_VECTOR
has only one use as well.

llvm-svn: 31641
parent bc60d347
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