[llvm] r325362 - [ThinLTO] Fix data race in test #2

Eugene Leviant via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 16 09:25:03 PST 2018


Author: evgeny777
Date: Fri Feb 16 09:25:03 2018
New Revision: 325362

URL: http://llvm.org/viewvc/llvm-project?rev=325362&view=rev
Log:
[ThinLTO] Fix data race in test #2

Switched to the right option (-thinlto-threads)

Modified:
    llvm/trunk/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll

Modified: llvm/trunk/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll?rev=325362&r1=325361&r2=325362&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll (original)
+++ llvm/trunk/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll Fri Feb 16 09:25:03 2018
@@ -6,7 +6,7 @@
 
 ; Test to make sure importing and dead stripping works in the
 ; case where the target is a local function that also indirectly calls itself.
-; RUN: llvm-lto2 run -thread-model=single -save-temps -o %t3 %t.bc %t2.bc -r %t.bc,fptr,plx -r %t.bc,main,plx -r %t2.bc,_Z6updatei,pl -r %t2.bc,fptr,l -print-imports 2>&1 | FileCheck %s --check-prefix=IMPORTS
+; RUN: llvm-lto2 run -thinlto-threads=1 -save-temps -o %t3 %t.bc %t2.bc -r %t.bc,fptr,plx -r %t.bc,main,plx -r %t2.bc,_Z6updatei,pl -r %t2.bc,fptr,l -print-imports 2>&1 | FileCheck %s --check-prefix=IMPORTS
 ; Make sure we import the promted indirectly called target
 ; IMPORTS: Import _ZL3foov.llvm.0
 




More information about the llvm-commits mailing list