[X86] Don't pass a scale value of 0 to scatter/gather intrinsics. This causes the...
authorCraig Topper <craig.topper@gmail.com>
Mon, 2 Nov 2015 07:24:37 +0000 (07:24 +0000)
committerCraig Topper <craig.topper@gmail.com>
Mon, 2 Nov 2015 07:24:37 +0000 (07:24 +0000)
commit417a782401d671d2434d8bcedc6b10a5076525cd
tree4d449ae65198d0567e74a21bab1f9e4e18192c7d
parent0bc7f97b9f45c8a2f33cb619d9de81a5d2a016e4
[X86] Don't pass a scale value of 0 to scatter/gather intrinsics. This causes the code emitter to throw an assertion if we try to encode it. Need to add a check to fail isel for this, but for now avoid testing it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251779 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/avx512-gather-scatter-intrin.ll