[PATCH] D91833: [SelectionDAG] Avoid aliasing analysis if the object size is unknown.
Nirav Dave via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 24 06:31:20 PST 2020
niravd accepted this revision.
niravd added a comment.
This revision is now accepted and ready to land.
LGTM modulo minor nit. Thanks!
================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp:105
+ *NumBytes0 == static_cast<int64_t>(MemoryLocation::UnknownSize);
+ bool IsUnknownNumBytes1 =
+ *NumBytes1 == static_cast<int64_t>(MemoryLocation::UnknownSize);
----------------
nit: These bools are single use and can be inlined.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91833/new/
https://reviews.llvm.org/D91833
More information about the llvm-commits
mailing list