[PATCH] D115278: Check subrange liveness at rematerialization
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 9 12:19:08 PST 2021
rampitec marked an inline comment as done.
rampitec added inline comments.
================
Comment at: llvm/lib/CodeGen/LiveRangeEdit.cpp:146-148
+ LM &= ~SR.LaneMask;
+ if (LM.none())
+ break;
----------------
arsenm wrote:
> This isn't required?
This is early exit. No need to continue iterating over the rest of the subranges if we have already checked all lanes we need. In case of wide register tuples this shall be faster.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115278/new/
https://reviews.llvm.org/D115278
More information about the llvm-commits
mailing list