[PATCH] D78049: [SelectionDAG] Always preserve offset in MachinePointerInfo
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 13 14:07:44 PDT 2020
RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.
LGTM with one minor, cheers.
================
Comment at: llvm/include/llvm/CodeGen/MachineMemOperand.h:80
if (V.isNull())
- return MachinePointerInfo(AddrSpace);
+ return MachinePointerInfo(AddrSpace, Offset+O);
if (V.is<const Value*>())
----------------
clang-format
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78049/new/
https://reviews.llvm.org/D78049
More information about the llvm-commits
mailing list