summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll
diff options
context:
space:
mode:
authorEugene Leviant <eleviant@accesssoftek.com>2018-02-16 16:56:33 +0000
committerEugene Leviant <eleviant@accesssoftek.com>2018-02-16 16:56:33 +0000
commitc9724d9149207b6a216e27a4ece83af75234c806 (patch)
treee6fc546beedfa5d20216b4c29378ac1cb7956d64 /llvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll
parentb960325989edaba74f38d7c9f0d9006691c7d46b (diff)
downloadbcm5719-llvm-c9724d9149207b6a216e27a4ece83af75234c806.tar.gz
bcm5719-llvm-c9724d9149207b6a216e27a4ece83af75234c806.zip
[ThinLTO] Fix data race in test
llvm-svn: 325361
Diffstat (limited to 'llvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll')
-rw-r--r--llvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll b/llvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll
index d6a94ca6d94..869a01b405d 100644
--- a/llvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll
+++ b/llvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll
@@ -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 -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 -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
; Make sure we import the promted indirectly called target
; IMPORTS: Import _ZL3foov.llvm.0
OpenPOWER on IntegriCloud