[PATCH] D74539: [KnownBits] Avoid copying KnownBits objects
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 19 07:11:10 PST 2020
RKSimon added inline comments.
================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:1097
- KnownBits Known2(Known);
+ KnownBits Known2(BitWidth);
switch (I->getOpcode()) {
----------------
Not sure about the std::move but using BitWidth makes sense to me.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74539/new/
https://reviews.llvm.org/D74539
More information about the llvm-commits
mailing list