[TTI] fixing a bug in the isLegalMaskedScatter API
authorMohammed Agabaria <mohammed.agabaria@intel.com>
Thu, 27 Jul 2017 10:28:16 +0000 (10:28 +0000)
committerMohammed Agabaria <mohammed.agabaria@intel.com>
Thu, 27 Jul 2017 10:28:16 +0000 (10:28 +0000)
commitcef53dcb6fbf7a5222c0b42a287a4f7a5200246d
treeda538f34ff6fb15d482b2dd921385356cef0b3b6
parentc03956cf73d0406f7e70a399faae803cde9a177c
[TTI] fixing a bug in the isLegalMaskedScatter API

isLegalMaskedScatter called the Gather version which is a bug.
use test case is provided within the patch of AVX2 gathers at: https://reviews.llvm.org/D35772

Differential Revision: https://reviews.llvm.org/D35786

llvm-svn: 309260
llvm/lib/Analysis/TargetTransformInfo.cpp