Be careful with operand promotion. For a binary operation, the source operands may...
authorEvan Cheng <evan.cheng@apple.com>
Mon, 10 May 2010 19:03:57 +0000 (19:03 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 10 May 2010 19:03:57 +0000 (19:03 +0000)
commitaad753bbbd98c952f7e65246af2faf5c7d5a850b
tree56b8ac3cef2c55af0b8ac483936ac15afd534b3a
parent1deea21e3512e8c41b5145711019048d39d1cb0b
Be careful with operand promotion. For a binary operation, the source operands may be the same. PR7018. rdar://7939869.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103419 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/2010-05-10-DAGCombinerBug.ll [new file with mode: 0644]