summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/Lint.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-11-15 07:46:43 +0000
committerCraig Topper <craig.topper@intel.com>2017-11-15 07:46:43 +0000
commit16a91cee6c85ddbcfe9840a89456c97df8700387 (patch)
tree4bb7434535f503214a5723b6239e143b5ff86946 /llvm/lib/Analysis/Lint.cpp
parent1c240a89ffa0d7ca0afab6e36c8f8a58ec73e52f (diff)
downloadbcm5719-llvm-16a91cee6c85ddbcfe9840a89456c97df8700387.tar.gz
bcm5719-llvm-16a91cee6c85ddbcfe9840a89456c97df8700387.zip
[X86] Redefine the 128-bit version of VPGATHERQD and VGATHERQPS to use a VK2 mask instead of a VK4 mask.
This allows us to remove extra extend creation during lowering and more accurately reflects the semantics of the instruction. While there add an extra output VT to X86 masked gather node to better match the isel pattern predicate. Currently we're exploiting the fact that the isel table doesn't count how many output results a node actually has if the result type of any can be inferred from the first result and the type constraints defined in tablegen. I think we might ultimately want to lower all MGATHER/MSCATTER to an X86ISD node with the extra mask result and stop relying on this hole in the isel checking. llvm-svn: 318278
Diffstat (limited to 'llvm/lib/Analysis/Lint.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud