aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-11-10 21:23:04 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-11-10 21:23:04 +0000
commitd6373bcd8232fe40fc4296a6f5e2d374b196bc6c (patch)
treeb32e27abc2d16e78ed44b2b11e0dbebc996ff266 /lib/CodeGen/SelectionDAG/DAGCombiner.cpp
parenta5fd380ac4aaa9dee0099fd3415394a86e60830f (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
Diffstat (limited to 'lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
0 files changed, 0 insertions, 0 deletions