[X86] Add gather test with index sign extended from i8 type.
commit84ed30bdd7aa1c761033b443f6b5d7692145257e
authorCraig Topper <craig.topper@intel.com>
Thu, 16 Nov 2017 23:09:03 +0000 (16 23:09 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 16 Nov 2017 23:09:03 +0000 (16 23:09 +0000)
tree7188111b3c277625bd0b1d33a007a6f0141691b3
parent8aa93d83e2c5adba50344c5c3994c4c535020a00
[X86] Add gather test with index sign extended from i8 type.

Previously SelectionDAGBuilder would remove this sign extend leading to a failure during isel.

The codegen here isn't very nice as we ended up triggering a split.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318467 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/masked_gather_scatter.ll