Add x86 isel lowering logic to form bit test with inverted condition. e.g.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 5 Dec 2012 00:10:38 +0000 (00:10 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 5 Dec 2012 00:10:38 +0000 (00:10 +0000)
commit4e5448053163e0d9c2107b240ccdb5a95c107b07
treef69957d1be5357774dbacb8efb3d2462a1f022cf
parent105ab4fe4bffcaf339e4943b98c6155a0883284a
Add x86 isel lowering logic to form bit test with inverted condition. e.g.
x ^ -1.

Patch by David Majnemer.
rdar://12755626

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169339 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/bt.ll