summaryrefslogtreecommitdiffstats
path: root/llvm/test/ThinLTO/X86/cache.ll
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2017-03-02 02:02:38 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2017-03-02 02:02:38 +0000
commitab76a19afb14a4f3330ebc33fddb89db6e7f6ef9 (patch)
treebd7432f3210d093552d82298b35acb9ee94880d2 /llvm/test/ThinLTO/X86/cache.ll
parent2f75ad4e519091d16f3f4d373f5b64d263c9b149 (diff)
downloadbcm5719-llvm-ab76a19afb14a4f3330ebc33fddb89db6e7f6ef9.tar.gz
bcm5719-llvm-ab76a19afb14a4f3330ebc33fddb89db6e7f6ef9.zip
LTO: When creating a local cache, create the cache directory if it does not already exist.
Differential Revision: https://reviews.llvm.org/D30519 llvm-svn: 296726
Diffstat (limited to 'llvm/test/ThinLTO/X86/cache.ll')
-rw-r--r--llvm/test/ThinLTO/X86/cache.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/ThinLTO/X86/cache.ll b/llvm/test/ThinLTO/X86/cache.ll
index b796b00fc5d..d654d3468e3 100644
--- a/llvm/test/ThinLTO/X86/cache.ll
+++ b/llvm/test/ThinLTO/X86/cache.ll
@@ -10,7 +10,7 @@
; RUN: ls %t.cache | count 1
; Verify that enabling caching is ignoring module without hash with llvm-lto2
-; RUN: rm -Rf %t.cache && mkdir %t.cache
+; RUN: rm -Rf %t.cache
; RUN: llvm-lto2 -o %t.o %t2.bc %t.bc -cache-dir %t.cache \
; RUN: -r=%t2.bc,_main,plx \
; RUN: -r=%t2.bc,_globalfunc,lx \
@@ -30,7 +30,7 @@
; RUN: ls %t.cache | count 3
; Verify that enabling caching is working with llvm-lto2
-; RUN: rm -Rf %t.cache && mkdir %t.cache
+; RUN: rm -Rf %t.cache
; RUN: llvm-lto2 -o %t.o %t2.bc %t.bc -cache-dir %t.cache \
; RUN: -r=%t2.bc,_main,plx \
; RUN: -r=%t2.bc,_globalfunc,lx \
OpenPOWER on IntegriCloud