[PATCH] D133584: [DAGCombiner] [AMDGPU] Allow vector loads in MatchLoadCombine
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 27 08:24:09 PDT 2022
RKSimon added inline comments.
================
Comment at: llvm/include/llvm/CodeGen/SelectionDAGAddressAnalysis.h:52
SDValue getIndex() const { return Index; }
+ void setOffset(int64_t NewOff) { *Offset = NewOff; }
bool hasValidOffset() const { return Offset.has_value(); }
----------------
Would it be better to replace this with addToOffset() that adds to the existing offset (or set it if == None)?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133584/new/
https://reviews.llvm.org/D133584
More information about the llvm-commits
mailing list