[PATCH] D104028: [WIP] Use standard priority queue to order inlining
Chuanqi Xu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 15 19:08:05 PDT 2021
ChuanqiXu added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/Inliner.cpp:19
#include "llvm/ADT/Optional.h"
+#include "llvm/ADT/PriorityQueue.h"
#include "llvm/ADT/STLExtras.h"
----------------
Now it is not necessary.
================
Comment at: llvm/lib/Transforms/IPO/Inliner.cpp:799-822
// We use a single common worklist for calls across the entire SCC. We
// process these in-order and append new calls introduced during inlining to
// the end.
//
// Note that this particular order of processing is actually critical to
// avoid very bad behaviors. Consider *highly connected* call graphs where
// each function contains a small amount of code and a couple of calls to
----------------
Since we add new order strategy, we need edit the comment too.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104028/new/
https://reviews.llvm.org/D104028
More information about the llvm-commits
mailing list