[PATCH] D93898: [X86] Fix tile register spill issue.
LuoYuanke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 3 20:36:16 PST 2021
LuoYuanke added inline comments.
================
Comment at: llvm/lib/CodeGen/InlineSpiller.cpp:272
+static void getInterval(const MachineInstr &MI, LiveIntervals &LIS) {
+ for (unsigned I = 0, E = MI.getNumOperands(); I != E; ++I) {
----------------
wxiao3 wrote:
> The function name is misleading since the function just get intervals for definition registers.
> Suggest using more specific name such as "getVDefInterval" or something else.
>
> BTW, I guess there may be existing code can provide similar functionality of creating intervals for new registers.
> @qcolombet may provide more information.
The proposed name looks good to me. Renamed the function to "getVDefInterval".
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93898/new/
https://reviews.llvm.org/D93898
More information about the llvm-commits
mailing list