Fix a TargetLowering optimization so that it doesn't duplicate
authorDan Gohman <gohman@apple.com>
Fri, 3 Apr 2009 20:11:30 +0000 (20:11 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 3 Apr 2009 20:11:30 +0000 (20:11 +0000)
commitf50c7981ae9b81f1212d72a06d1c05e20d0559af
tree5ccb8a1549f1e7a872775012c3b4ee6bdd81fb0b
parent38f4dd7b5e333aee8f89cee85d1c79378fee0ffc
Fix a TargetLowering optimization so that it doesn't duplicate
loads when an input node has multiple uses.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68398 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/TargetLowering.cpp
test/CodeGen/X86/and-su.ll [new file with mode: 0644]