Extend r93152 to work on OR r, r. If the source set bits are known not to overlap...
authorEvan Cheng <evan.cheng@apple.com>
Mon, 11 Jan 2010 22:03:29 +0000 (22:03 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 11 Jan 2010 22:03:29 +0000 (22:03 +0000)
commit199c4240feedec2f9dbd0d4c4c0a32fa46e50270
tree23f814b690f461e89f44e4455bdfce90fafb6493
parentc31b0fc31f69435eeb6cd456158239e275f52f31
Extend r93152 to work on OR r, r. If the source set bits are known not to overlap, then select as an ADD instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93191 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86Instr64bit.td
lib/Target/X86/X86InstrInfo.td
test/CodeGen/X86/3addr-or.ll
test/CodeGen/X86/fast-isel.ll