[all-commits] [llvm/llvm-project] a40599: [SelectionDAG][VP] Fix MemSDNode::getBasePtr
Fraser Cormack via All-commits
all-commits at lists.llvm.org
Tue Sep 7 02:04:38 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a40599c97bd31871526d2399e8d545daa89ef702
https://github.com/llvm/llvm-project/commit/a40599c97bd31871526d2399e8d545daa89ef702
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2021-09-07 (Tue, 07 Sep 2021)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
Log Message:
-----------
[SelectionDAG][VP] Fix MemSDNode::getBasePtr
Found while working on D108987. When interpreting VP nodes as
`MemSDNode` nodes, this function would return the incorrect indices.
This was due to `VP_GATHER` and having no "passthru", and both
`VP_GATHER` and `VP_SCATTER` having their mask operands *after* the base
pointer, unlike `MGATHER` and `MSCATTER`.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D109308
More information about the All-commits
mailing list