[llvm] 8769611 - Remove unnecessary 'rm' in llvm-reduce tests
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 9 10:49:25 PDT 2020
Author: David Blaikie
Date: 2020-07-09T10:49:11-07:00
New Revision: 8769611f0af2598177d8d03ad6dbbe064210bfed
URL: https://github.com/llvm/llvm-project/commit/8769611f0af2598177d8d03ad6dbbe064210bfed
DIFF: https://github.com/llvm/llvm-project/commit/8769611f0af2598177d8d03ad6dbbe064210bfed.diff
LOG: Remove unnecessary 'rm' in llvm-reduce tests
These were initially added to cleanup some transient/leftover files in
r372054. Now that's all cleaned up, these are no longer needed.
Added:
Modified:
llvm/test/Reduce/remove-args.ll
llvm/test/Reduce/remove-funcs.ll
llvm/test/Reduce/remove-global-vars.ll
llvm/test/Reduce/remove-metadata.ll
llvm/test/Reduce/remove-multiple-use-of-args-in-same-instruction.ll
llvm/test/Reduce/remove-multiple-use-of-global-vars-in-same-instruction.ll
llvm/test/Reduce/remove-operand-bundles.ll
Removed:
################################################################################
diff --git a/llvm/test/Reduce/remove-args.ll b/llvm/test/Reduce/remove-args.ll
index 8d6130262bf5..161a6fd3731b 100644
--- a/llvm/test/Reduce/remove-args.ll
+++ b/llvm/test/Reduce/remove-args.ll
@@ -1,6 +1,5 @@
; 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
diff --git a/llvm/test/Reduce/remove-funcs.ll b/llvm/test/Reduce/remove-funcs.ll
index 8e9b2579a974..59ffd849193d 100644
--- a/llvm/test/Reduce/remove-funcs.ll
+++ b/llvm/test/Reduce/remove-funcs.ll
@@ -1,7 +1,6 @@
; 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
diff --git a/llvm/test/Reduce/remove-global-vars.ll b/llvm/test/Reduce/remove-global-vars.ll
index 921083fc93b0..4fca4a1e6973 100644
--- a/llvm/test/Reduce/remove-global-vars.ll
+++ b/llvm/test/Reduce/remove-global-vars.ll
@@ -1,7 +1,6 @@
; 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
diff --git a/llvm/test/Reduce/remove-metadata.ll b/llvm/test/Reduce/remove-metadata.ll
index da7d5a2f16b4..51a50ca20a98 100644
--- a/llvm/test/Reduce/remove-metadata.ll
+++ b/llvm/test/Reduce/remove-metadata.ll
@@ -1,7 +1,6 @@
; 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
diff --git a/llvm/test/Reduce/remove-multiple-use-of-args-in-same-instruction.ll b/llvm/test/Reduce/remove-multiple-use-of-args-in-same-instruction.ll
index 4d280bcf2f31..21a638f1e6bc 100644
--- a/llvm/test/Reduce/remove-multiple-use-of-args-in-same-instruction.ll
+++ b/llvm/test/Reduce/remove-multiple-use-of-args-in-same-instruction.ll
@@ -1,6 +1,5 @@
; 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-multiple-use-of-args-in-same-instruction.py %s -o %t
; RUN: cat %t | FileCheck -implicit-check-not=uninteresting %s
diff --git a/llvm/test/Reduce/remove-multiple-use-of-global-vars-in-same-instruction.ll b/llvm/test/Reduce/remove-multiple-use-of-global-vars-in-same-instruction.ll
index c8b639099fd3..4400bc818e55 100644
--- a/llvm/test/Reduce/remove-multiple-use-of-global-vars-in-same-instruction.ll
+++ b/llvm/test/Reduce/remove-multiple-use-of-global-vars-in-same-instruction.ll
@@ -1,6 +1,5 @@
; 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-multiple-use-of-global-vars-in-same-instruction.py %s -o %t
; RUN: cat %t | FileCheck -implicit-check-not=uninteresting %s
diff --git a/llvm/test/Reduce/remove-operand-bundles.ll b/llvm/test/Reduce/remove-operand-bundles.ll
index 39c0af6c9ae5..b0f3af6dbc85 100644
--- a/llvm/test/Reduce/remove-operand-bundles.ll
+++ b/llvm/test/Reduce/remove-operand-bundles.ll
@@ -1,6 +1,5 @@
; Test that llvm-reduce can remove uninteresting operand bundles from calls.
;
-; RUN: rm -rf %t
; RUN: llvm-reduce --test FileCheck --test-arg --check-prefixes=CHECK-ALL,CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t
; RUN: cat %t | FileCheck --check-prefixes=CHECK-ALL,CHECK-FINAL %s
More information about the llvm-commits
mailing list