don't set a legal vector type if we know we can't use that type (NFCI)
authorSanjay Patel <spatel@rotateright.com>
Mon, 31 Aug 2015 22:59:03 +0000 (22:59 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 31 Aug 2015 22:59:03 +0000 (22:59 +0000)
commitb113c5eb7fd097502d53d5abac79643e95e0030b
tree7d659eab357116880adb08607eaba4823810ffaf
parent37d8ade35ce1bb8feb46f8731340d0b0b5f7ab6c
don't set a legal vector type if we know we can't use that type (NFCI)

Added benefit: the 'if' logic now matches the text of the comment that describes it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246506 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp