]> granicus.if.org Git - llvm/commitdiff
llvm-reduce: Clean out previous test temp/output dir, since it was a dir and now...
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 16 Sep 2019 23:56:26 +0000 (23:56 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 16 Sep 2019 23:56:26 +0000 (23:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372054 91177308-0d34-0410-b5e6-96231b3b80d8

test/Reduce/remove-args.ll
test/Reduce/remove-funcs.ll
test/Reduce/remove-global-vars.ll
test/Reduce/remove-metadata.ll

index 161a6fd3731bb01a5b7c30a6e735612cb295d0b2..8d6130262bf50768773ccbe809f8cd01f111e644 100644 (file)
@@ -1,5 +1,6 @@
 ; Test that llvm-reduce can remove uninteresting function arguments from function definitions as well as their calls.
 ;
+; RUN: rm -rf %t
 ; RUN: llvm-reduce --test %python --test-arg %p/Inputs/remove-args.py %s -o %t
 ; RUN: cat %t | FileCheck -implicit-check-not=uninteresting %s
 
index 59ffd849193db1f543565cb8aaa470b702be637b..8e9b2579a974b0e8db23972cbaf6bb6d89525248 100644 (file)
@@ -1,6 +1,7 @@
 ; Test that llvm-reduce can remove uninteresting functions as well as
 ; their InstCalls.
 ;
+; RUN: rm -rf %t
 ; RUN: llvm-reduce --test %python --test-arg %p/Inputs/remove-funcs.py %s -o %t
 ; RUN: cat %t | FileCheck -implicit-check-not=uninteresting %s
 
index b876acd1b8f54cd1e47d1e7403a346ab9a9e87fc..003577d270470eec27d71abf13da1be21ded2666 100644 (file)
@@ -1,6 +1,7 @@
 ; Test that llvm-reduce can remove uninteresting Global Variables as well as
 ; their direct uses (which in turn are replaced with 'undef').
 ;
+; RUN: rm -rf %t
 ; RUN: llvm-reduce --test %python --test-arg %p/Inputs/remove-global-vars.py %s -o %t
 ; RUN: cat %t | FileCheck -implicit-check-not=uninteresting %s
 
index 51a50ca20a98541dc049c15abcb771f56414aa39..da7d5a2f16b48e9a52a6642b5ced0f5bae79dea5 100644 (file)
@@ -1,6 +1,7 @@
 ; Test that llvm-reduce can remove uninteresting metadata from an IR file.
 ; The Metadata pass erases named & unnamed metadata nodes.
 ;
+; RUN: rm -rf %t
 ; RUN: llvm-reduce --test %python --test-arg %p/Inputs/remove-metadata.py %s -o %t
 ; RUN: cat %t | FileCheck -implicit-check-not=! %s