[PATCH] D65636: [SelectionDAG] Extend base addressing modes supported by MGATHER/MSCATTER
Cullen Rhodes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 2 01:22:13 PDT 2019
c-rhodes created this revision.
c-rhodes added reviewers: rengolin, sdesmalen, craig.topper.
Herald added a project: LLVM.
Before this patch MGATHER/MSCATTER is capable of representing all
common addressing modes, but only when illegal types are used.
This patch adds an IndexType property so more representations
are available when using legal types only.
Original modes:
vector of bases
base + vector of signed scaled offsets
New modes:
base + vector of signed unscaled offsets
base + vector of unsigned scaled offsets
base + vector of unsigned unscaled offsets
The current behaviour of addressing modes for gather/scatter remains
unchanged.
Patch by Paul Walker.
Repository:
rL LLVM
https://reviews.llvm.org/D65636
Files:
include/llvm/CodeGen/ISDOpcodes.h
include/llvm/CodeGen/SelectionDAG.h
include/llvm/CodeGen/SelectionDAGNodes.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/Target/X86/X86ISelLowering.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65636.212983.patch
Type: text/x-patch
Size: 19626 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190802/56ff1a97/attachment-0001.bin>
More information about the llvm-commits
mailing list