summaryrefslogtreecommitdiffstats
path: root/llvm/test/ThinLTO/X86/empty_module_with_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/empty_module_with_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/empty_module_with_cache.ll')
-rw-r--r--llvm/test/ThinLTO/X86/empty_module_with_cache.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/ThinLTO/X86/empty_module_with_cache.ll b/llvm/test/ThinLTO/X86/empty_module_with_cache.ll
index 3e16c395a89..42692fd4c6e 100644
--- a/llvm/test/ThinLTO/X86/empty_module_with_cache.ll
+++ b/llvm/test/ThinLTO/X86/empty_module_with_cache.ll
@@ -8,7 +8,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: ls %t.cache | count 2
@@ -25,7 +25,7 @@
; RUN: ls %t.cache | count 1
; Verify that caching is disabled for 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: ls %t.cache | count 0
OpenPOWER on IntegriCloud