[llvm] r337076 - [ThinLTO] Add debug output to test

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 13 17:08:48 PDT 2018


Author: tejohnson
Date: Fri Jul 13 17:08:48 2018
New Revision: 337076

URL: http://llvm.org/viewvc/llvm-project?rev=337076&view=rev
Log:
[ThinLTO] Add debug output to test

Add -debug-only=function-import to get more information for debugging
reverse-iteration bot failure from r337050.

Modified:
    llvm/trunk/test/Transforms/FunctionImport/hotness_based_import2.ll

Modified: llvm/trunk/test/Transforms/FunctionImport/hotness_based_import2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/FunctionImport/hotness_based_import2.ll?rev=337076&r1=337075&r2=337076&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/FunctionImport/hotness_based_import2.ll (original)
+++ llvm/trunk/test/Transforms/FunctionImport/hotness_based_import2.ll Fri Jul 13 17:08:48 2018
@@ -9,7 +9,7 @@
 ; with threshold decayed by default 0.7 factor. Test ensures that when we
 ; encounter it again from hot path, we re-enqueue with higher non-decayed
 ; threshold which will allow it to be imported.
-; RUN: opt -function-import -summary-file %t3.thinlto.bc %t.bc -import-instr-limit=10 -import-hot-multiplier=1.0 -import-cold-multiplier=1.0 -S | FileCheck %s --check-prefix=CHECK
+; RUN: opt -function-import -summary-file %t3.thinlto.bc %t.bc -import-instr-limit=10 -import-hot-multiplier=1.0 -import-cold-multiplier=1.0 -S -debug-only=function-import | FileCheck %s --check-prefix=CHECK
 ; CHECK-DAG: define available_externally void @hot()
 ; CHECK-DAG: define available_externally void @calledFromHot()
 




More information about the llvm-commits mailing list