[SVE][CodeGen] Add the ExtensionType flag to MGATHER
authorKerry McLaughlin <kerry.mclaughlin@arm.com>
Wed, 9 Dec 2020 10:49:43 +0000 (10:49 +0000)
committerKerry McLaughlin <kerry.mclaughlin@arm.com>
Wed, 9 Dec 2020 11:19:08 +0000 (11:19 +0000)
commit4519ff4b6f02defcb69ea49bc11607cee09cde7b
treea3b3aeecb28f774bf5ed8d69cc6218cb93333fa7
parent0bf4a82a5a2b11a07a7f7eac5e49b565cb041b13
[SVE][CodeGen] Add the ExtensionType flag to MGATHER

Adds the ExtensionType flag, which reflects the LoadExtType of a MaskedGatherSDNode.
Also updated SelectionDAGDumper::print_details so that details of the gather
load (is signed, is scaled & extension type) are printed.

Reviewed By: sdesmalen

Differential Revision: https://reviews.llvm.org/D91084
llvm/include/llvm/CodeGen/SelectionDAG.h
llvm/include/llvm/CodeGen/SelectionDAGNodes.h
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp