commit | d6373bcd8232fe40fc4296a6f5e2d374b196bc6c | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Fri Nov 10 21:23:04 2006 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Fri Nov 10 21:23:04 2006 +0000 |
tree | b32e27abc2d16e78ed44b2b11e0dbebc996ff266 | |
parent | a5fd380ac4aaa9dee0099fd3415394a86e60830f [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31641 91177308-0d34-0410-b5e6-96231b3b80d8