Avoid zero extend bit test operands to pointer type if all the masks fit in
authorEvan Cheng <evan.cheng@apple.com>
Thu, 6 Jan 2011 01:02:44 +0000 (01:02 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 6 Jan 2011 01:02:44 +0000 (01:02 +0000)
commitd08e5b48bc5d9177b1d70a1980a7805420a99085
treeeba84180bd1bb0bc4918cdce0b29604e8f4b8d9e
parenta99ec28134c2fd0a21c446a58bf6406b8aa1a580
Avoid zero extend bit test operands to pointer type if all the masks fit in
the original type of the switch statement key.
rdar://8781238

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122935 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
test/CodeGen/X86/switch-bt.ll