[PATCH] D24940: [thinlto] Add cold-callsite import heuristic

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 28 21:45:42 PDT 2016


mehdi_amini added inline comments.

================
Comment at: test/Transforms/FunctionImport/hotness_based_import.ll:32
@@ -30,1 +31,3 @@
 
+; RUN: opt -function-import -summary-file %t3.thinlto.bc %t.bc -import-instr-limit=1 -import-hot-multiplier=1.0 -import-cold-multiplier=1.0 --S | FileCheck %s --check-prefix=CHECK --check-prefix=HOT-ONE
+; HOT-COLD-ONE-DAG: define available_externally void @hot1()
----------------
If this test passes, I think there's something wrong (the prefix is the same as the previous one...)


https://reviews.llvm.org/D24940





More information about the llvm-commits mailing list