[PATCH] D85220: [CodeGen] Refactor getMemBasePlusOffset to accept a TypeSize
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 4 12:40:24 PDT 2020
efriedma added inline comments.
================
Comment at: llvm/include/llvm/CodeGen/SelectionDAG.h:884
Flags.setNoUnsignedWrap(true);
- return getMemBasePlusOffset(Ptr, Offset, SL, Flags);
+ return getMemBasePlusOffset(Ptr, TypeSize::Fixed(Offset), SL, Flags);
}
----------------
Implicit sign-conversion?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85220/new/
https://reviews.llvm.org/D85220
More information about the llvm-commits
mailing list