[PATCH] D94155: [X86] Fix tile config register spill issue.
LuoYuanke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 19 03:45:08 PST 2021
LuoYuanke added inline comments.
================
Comment at: llvm/lib/Target/X86/X86PreTileConfig.cpp:296-300
+ WorkList.push(MBB);
+ bool First = true;
+ while (!WorkList.empty()) {
+ MBB = WorkList.front();
+ WorkList.pop();
----------------
pengfei wrote:
> I think using `push_back` and `pop_front` seems more clear.
It seems there is no member push_back and pop_front for std::queue.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94155/new/
https://reviews.llvm.org/D94155
More information about the llvm-commits
mailing list