[X86] Prune some unreachable 'return SDValue()' paths from LowerSIGN_EXTEND/LowerZERO...
authorCraig Topper <craig.topper@intel.com>
Wed, 7 Feb 2018 22:45:38 +0000 (22:45 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 7 Feb 2018 22:45:38 +0000 (22:45 +0000)
commit37765ff326cecbaa9aca87c40312749a6ef3c768
tree93c2c7ef406769813f210764a6015828fbca4b95
parentf3b4ca89e7ac55cfda8734630863e866a6da14cd
[X86] Prune some unreachable 'return SDValue()' paths from LowerSIGN_EXTEND/LowerZERO_EXTEND/LowerANY_EXTEND.

We were doing a lot of whitelisting of what we handle in these routines, but setOperationAction constrains what we can get here. So just add some asserts and prune the unreachable paths.

llvm-svn: 324538
llvm/lib/Target/X86/X86ISelLowering.cpp