[llvm] [FuncSpec] Only compute Latency bonus when necessary (PR #113159)
Alexandros Lamprineas via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 21 07:20:03 PDT 2024
================
@@ -43,6 +43,7 @@ class FunctionSpecializationTest : public testing::Test {
FunctionAnalysisManager FAM;
std::unique_ptr<Module> M;
std::unique_ptr<SCCPSolver> Solver;
+ SmallVector<Instruction *, 8> Instructions;
----------------
labrinea wrote:
s/Instructions/KnownConstants, otherwise it is not informative enough in my opinion.
https://github.com/llvm/llvm-project/pull/113159
More information about the llvm-commits
mailing list