summaryrefslogtreecommitdiffstats
path: root/llvm/test/ThinLTO/X86/cache-import-lists.ll
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2017-04-11 18:12:00 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2017-04-11 18:12:00 +0000
commit7faa60c406e501d4b78f1355a89de68023d78381 (patch)
tree161f4e5acb324920181eae00ce1ccadc6e9385e0 /llvm/test/ThinLTO/X86/cache-import-lists.ll
parent271b2245f40af1c363d10404d0c4d7c5e64d19c3 (diff)
downloadbcm5719-llvm-7faa60c406e501d4b78f1355a89de68023d78381.tar.gz
bcm5719-llvm-7faa60c406e501d4b78f1355a89de68023d78381.zip
llvm-lto2: Move the LTO::run() action behind a subcommand.
Move LTO::run() to a "run" subcommand so that we can introduce new subcommands for testing different parts of the LTO implementation. This doesn't use llvm::cl subcommands because it doesn't appear to be currently possible to pass an argument not associated with a subcommand to a subcommand (e.g. -lto-use-new-pm, -mcpu=yonah). Differential Revision: https://reviews.llvm.org/D31410 llvm-svn: 299967
Diffstat (limited to 'llvm/test/ThinLTO/X86/cache-import-lists.ll')
-rw-r--r--llvm/test/ThinLTO/X86/cache-import-lists.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/ThinLTO/X86/cache-import-lists.ll b/llvm/test/ThinLTO/X86/cache-import-lists.ll
index 6ec5dba1089..ba7b437e8ca 100644
--- a/llvm/test/ThinLTO/X86/cache-import-lists.ll
+++ b/llvm/test/ThinLTO/X86/cache-import-lists.ll
@@ -7,8 +7,8 @@
; linkonce_odr will be imported from either t1 or t2, whichever comes first).
; RUN: rm -rf %t.cache
-; RUN: llvm-lto2 -cache-dir %t.cache -o %t.o %t.bc %t1.bc %t2.bc -r=%t.bc,main,plx -r=%t.bc,f1,lx -r=%t.bc,f2,lx -r=%t1.bc,f1,plx -r=%t1.bc,linkonce_odr,plx -r=%t2.bc,f2,plx -r=%t2.bc,linkonce_odr,lx
-; RUN: llvm-lto2 -cache-dir %t.cache -o %t.o %t.bc %t2.bc %t1.bc -r=%t.bc,main,plx -r=%t.bc,f1,lx -r=%t.bc,f2,lx -r=%t2.bc,f2,plx -r=%t2.bc,linkonce_odr,plx -r=%t1.bc,f1,plx -r=%t1.bc,linkonce_odr,lx
+; RUN: llvm-lto2 run -cache-dir %t.cache -o %t.o %t.bc %t1.bc %t2.bc -r=%t.bc,main,plx -r=%t.bc,f1,lx -r=%t.bc,f2,lx -r=%t1.bc,f1,plx -r=%t1.bc,linkonce_odr,plx -r=%t2.bc,f2,plx -r=%t2.bc,linkonce_odr,lx
+; RUN: llvm-lto2 run -cache-dir %t.cache -o %t.o %t.bc %t2.bc %t1.bc -r=%t.bc,main,plx -r=%t.bc,f1,lx -r=%t.bc,f2,lx -r=%t2.bc,f2,plx -r=%t2.bc,linkonce_odr,plx -r=%t1.bc,f1,plx -r=%t1.bc,linkonce_odr,lx
; RUN: ls %t.cache | count 6
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
OpenPOWER on IntegriCloud