[llvm] [test] Group GlobalISelEmitter tests under a subdirectory (PR #121093)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 24 23:44:46 PST 2024
https://github.com/s-barannikov created https://github.com/llvm/llvm-project/pull/121093
Remove extra command line arguments while here.
>From f63634e49975e3683ead8842010063ca1a42f21f Mon Sep 17 00:00:00 2001
From: Sergei Barannikov <barannikov88 at gmail.com>
Date: Wed, 25 Dec 2024 10:43:57 +0300
Subject: [PATCH] [test] Group GlobalISelEmitter tests under a subdirectory
Remove extra command line arguments while here.
---
.../{ => GlobalISelEmitter}/ContextlessPredicates.td | 4 ++--
.../CustomPredicate.td} | 2 +-
.../{ => GlobalISelEmitter}/DefaultOpsGlobalISel.td | 2 +-
.../Flags.td} | 2 +-
.../TableGen/{ => GlobalISelEmitter}/GlobalISelEmitter.td | 6 +++---
.../HwModes.td} | 2 +-
.../MatchTableOptimizer.td} | 2 +-
.../MatchTableOptimizerSameOperand-invalid.td} | 2 +-
.../MatchTableOptimizerSameOperand.td} | 2 +-
.../OverloadedPtr.td} | 2 +-
.../PR39045.td} | 2 +-
.../RegSequence.td} | 2 +-
.../SDNodeXForm-timm.td} | 2 +-
.../SkippedPatterns.td} | 4 ++--
.../Subreg.td} | 2 +-
.../Variadic.td} | 2 +-
.../atomic-store.td} | 2 +-
.../frameindex.td} | 2 +-
.../TableGen/{ => GlobalISelEmitter}/gisel-physreg-input.td | 2 +-
.../immAllZeroOne.td} | 4 ++--
.../immarg-literal-pattern.td} | 2 +-
.../TableGen/{ => GlobalISelEmitter}/immarg-predicated.td | 2 +-
llvm/test/TableGen/{ => GlobalISelEmitter}/immarg.td | 2 +-
.../implicit-defs.td} | 2 +-
.../input-discard.td} | 2 +-
.../multiple-output-discard.td} | 2 +-
.../multiple-output.td} | 2 +-
.../nested-subregs.td} | 2 +-
.../notype-output-pattern.td} | 2 +-
.../optional-def.td} | 2 +-
.../output-discard.td} | 2 +-
.../setcc.td} | 2 +-
.../zero-instr.td} | 2 +-
.../zero-reg.td} | 2 +-
34 files changed, 39 insertions(+), 39 deletions(-)
rename llvm/test/TableGen/{ => GlobalISelEmitter}/ContextlessPredicates.td (94%)
rename llvm/test/TableGen/{GlobalISelEmitterCustomPredicate.td => GlobalISelEmitter/CustomPredicate.td} (99%)
rename llvm/test/TableGen/{ => GlobalISelEmitter}/DefaultOpsGlobalISel.td (99%)
rename llvm/test/TableGen/{GlobalISelEmitterFlags.td => GlobalISelEmitter/Flags.td} (98%)
rename llvm/test/TableGen/{ => GlobalISelEmitter}/GlobalISelEmitter.td (99%)
rename llvm/test/TableGen/{GlobalISelEmitterHwModes.td => GlobalISelEmitter/HwModes.td} (98%)
rename llvm/test/TableGen/{GlobalISelEmitterMatchTableOptimizer.td => GlobalISelEmitter/MatchTableOptimizer.td} (98%)
rename llvm/test/TableGen/{GlobalISelEmitterMatchTableOptimizerSameOperand-invalid.td => GlobalISelEmitter/MatchTableOptimizerSameOperand-invalid.td} (99%)
rename llvm/test/TableGen/{GlobalISelEmitterMatchTableOptimizerSameOperand.td => GlobalISelEmitter/MatchTableOptimizerSameOperand.td} (95%)
rename llvm/test/TableGen/{GlobalISelEmitterOverloadedPtr.td => GlobalISelEmitter/OverloadedPtr.td} (94%)
rename llvm/test/TableGen/{GlobalISelEmitter-PR39045.td => GlobalISelEmitter/PR39045.td} (92%)
rename llvm/test/TableGen/{GlobalISelEmitterRegSequence.td => GlobalISelEmitter/RegSequence.td} (98%)
rename llvm/test/TableGen/{GlobalISelEmitter-SDNodeXForm-timm.td => GlobalISelEmitter/SDNodeXForm-timm.td} (93%)
rename llvm/test/TableGen/{GlobalISelEmitterSkippedPatterns.td => GlobalISelEmitter/SkippedPatterns.td} (86%)
rename llvm/test/TableGen/{GlobalISelEmitterSubreg.td => GlobalISelEmitter/Subreg.td} (99%)
rename llvm/test/TableGen/{GlobalISelEmitterVariadic.td => GlobalISelEmitter/Variadic.td} (97%)
rename llvm/test/TableGen/{GlobalISelEmitter-atomic_store.td => GlobalISelEmitter/atomic-store.td} (93%)
rename llvm/test/TableGen/{GlobalISelEmitter-frameindex.td => GlobalISelEmitter/frameindex.td} (98%)
rename llvm/test/TableGen/{ => GlobalISelEmitter}/gisel-physreg-input.td (98%)
rename llvm/test/TableGen/{GlobalISelEmitter-immAllZeroOne.td => GlobalISelEmitter/immAllZeroOne.td} (92%)
rename llvm/test/TableGen/{GlobalISelEmitter-immarg-literal-pattern.td => GlobalISelEmitter/immarg-literal-pattern.td} (95%)
rename llvm/test/TableGen/{ => GlobalISelEmitter}/immarg-predicated.td (92%)
rename llvm/test/TableGen/{ => GlobalISelEmitter}/immarg.td (93%)
rename llvm/test/TableGen/{GlobalISelEmitter-implicit-defs.td => GlobalISelEmitter/implicit-defs.td} (81%)
rename llvm/test/TableGen/{GlobalISelEmitter-input-discard.td => GlobalISelEmitter/input-discard.td} (95%)
rename llvm/test/TableGen/{GlobalISelEmitter-multiple-output-discard.td => GlobalISelEmitter/multiple-output-discard.td} (96%)
rename llvm/test/TableGen/{GlobalISelEmitter-multiple-output.td => GlobalISelEmitter/multiple-output.td} (98%)
rename llvm/test/TableGen/{GlobalISelEmitter-nested-subregs.td => GlobalISelEmitter/nested-subregs.td} (98%)
rename llvm/test/TableGen/{GlobalISelEmitter-notype-output-pattern.td => GlobalISelEmitter/notype-output-pattern.td} (89%)
rename llvm/test/TableGen/{GlobalISelEmitter-optional-def.td => GlobalISelEmitter/optional-def.td} (97%)
rename llvm/test/TableGen/{GlobalISelEmitter-output-discard.td => GlobalISelEmitter/output-discard.td} (94%)
rename llvm/test/TableGen/{GlobalISelEmitter-setcc.td => GlobalISelEmitter/setcc.td} (91%)
rename llvm/test/TableGen/{GlobalISelEmitter-zero-instr.td => GlobalISelEmitter/zero-instr.td} (71%)
rename llvm/test/TableGen/{GlobalISelEmitter-zero-reg.td => GlobalISelEmitter/zero-reg.td} (97%)
diff --git a/llvm/test/TableGen/ContextlessPredicates.td b/llvm/test/TableGen/GlobalISelEmitter/ContextlessPredicates.td
similarity index 94%
rename from llvm/test/TableGen/ContextlessPredicates.td
rename to llvm/test/TableGen/GlobalISelEmitter/ContextlessPredicates.td
index eead9655111e68..fa3484e3f4a4ec 100644
--- a/llvm/test/TableGen/ContextlessPredicates.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/ContextlessPredicates.td
@@ -1,6 +1,6 @@
-// RUN: llvm-tblgen -gen-global-isel -I %p/../../include -I %p/Common -optimize-match-table=false %s -o %T/context-non-optimized.cpp
+// RUN: llvm-tblgen -gen-global-isel -I %p/../../../include -I %p/../Common -optimize-match-table=false %s -o %T/context-non-optimized.cpp
// RUN: FileCheck %s --check-prefixes=CHECK_NOPT -input-file=%T/context-non-optimized.cpp
-// RUN: llvm-tblgen -gen-global-isel -I %p/../../include -I %p/Common -optimize-match-table=true %s -o %T/context-optimized.cpp
+// RUN: llvm-tblgen -gen-global-isel -I %p/../../../include -I %p/../Common -optimize-match-table=true %s -o %T/context-optimized.cpp
// RUN: FileCheck %s --check-prefixes=CHECK_OPT -input-file=%T/context-optimized.cpp
diff --git a/llvm/test/TableGen/GlobalISelEmitterCustomPredicate.td b/llvm/test/TableGen/GlobalISelEmitter/CustomPredicate.td
similarity index 99%
rename from llvm/test/TableGen/GlobalISelEmitterCustomPredicate.td
rename to llvm/test/TableGen/GlobalISelEmitter/CustomPredicate.td
index 3ceadf32f06425..56eaa4bdc57de5 100644
--- a/llvm/test/TableGen/GlobalISelEmitterCustomPredicate.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/CustomPredicate.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen %s -gen-global-isel -optimize-match-table=false -I %p/../../include -I %p/Common -o - | FileCheck %s
+// RUN: llvm-tblgen %s -gen-global-isel -optimize-match-table=false -I %p/../../../include -I %p/../Common | FileCheck %s
// Verify that all MI predicates are enumerated.
//
diff --git a/llvm/test/TableGen/DefaultOpsGlobalISel.td b/llvm/test/TableGen/GlobalISelEmitter/DefaultOpsGlobalISel.td
similarity index 99%
rename from llvm/test/TableGen/DefaultOpsGlobalISel.td
rename to llvm/test/TableGen/GlobalISelEmitter/DefaultOpsGlobalISel.td
index 8f4176a2aa730b..f88045ca9b00bf 100644
--- a/llvm/test/TableGen/DefaultOpsGlobalISel.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/DefaultOpsGlobalISel.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen %s -gen-global-isel -optimize-match-table=false -I %p/../../include -I %p/Common -o - | FileCheck %s
+// RUN: llvm-tblgen %s -gen-global-isel -optimize-match-table=false -I %p/../../../include -I %p/../Common -o - | FileCheck %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitterFlags.td b/llvm/test/TableGen/GlobalISelEmitter/Flags.td
similarity index 98%
rename from llvm/test/TableGen/GlobalISelEmitterFlags.td
rename to llvm/test/TableGen/GlobalISelEmitter/Flags.td
index fa8f2a79fbce89..0878955f8f31e2 100644
--- a/llvm/test/TableGen/GlobalISelEmitterFlags.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/Flags.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen %s -gen-global-isel -optimize-match-table=false -I %p/../../include -I %p/Common -o - | FileCheck %s
+// RUN: llvm-tblgen %s -gen-global-isel -optimize-match-table=false -I %p/../../../include -I %p/../Common | FileCheck %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitter.td b/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td
similarity index 99%
rename from llvm/test/TableGen/GlobalISelEmitter.td
rename to llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td
index ffefaba284299f..7c8181410d4003 100644
--- a/llvm/test/TableGen/GlobalISelEmitter.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td
@@ -1,6 +1,6 @@
-// RUN: llvm-tblgen -gen-global-isel -I %p/../../include -I %p/Common -optimize-match-table=false %s -o %T/non-optimized.cpp
-// RUN: llvm-tblgen -gen-global-isel -I %p/../../include -I %p/Common -optimize-match-table=true %s -o %T/optimized.cpp
-// RUN: llvm-tblgen -gen-global-isel -I %p/../../include -I %p/Common %s -o %T/default.cpp
+// RUN: llvm-tblgen -gen-global-isel -I %p/../../../include -I %p/../Common -optimize-match-table=false %s -o %T/non-optimized.cpp
+// RUN: llvm-tblgen -gen-global-isel -I %p/../../../include -I %p/../Common -optimize-match-table=true %s -o %T/optimized.cpp
+// RUN: llvm-tblgen -gen-global-isel -I %p/../../../include -I %p/../Common %s -o %T/default.cpp
// RUN: FileCheck %s --check-prefixes=CHECK,R19C,R19N -input-file=%T/non-optimized.cpp
// RUN: FileCheck %s --check-prefixes=CHECK,R19C,R19O -input-file=%T/optimized.cpp
diff --git a/llvm/test/TableGen/GlobalISelEmitterHwModes.td b/llvm/test/TableGen/GlobalISelEmitter/HwModes.td
similarity index 98%
rename from llvm/test/TableGen/GlobalISelEmitterHwModes.td
rename to llvm/test/TableGen/GlobalISelEmitter/HwModes.td
index 9d235f5f07a74b..3588ba3979411c 100644
--- a/llvm/test/TableGen/GlobalISelEmitterHwModes.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/HwModes.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -gen-global-isel -I %p/../../include -I %p/Common -optimize-match-table=false %s -o %T/hwmode-non-optimized.cpp
+// RUN: llvm-tblgen -gen-global-isel -I %p/../../../include -I %p/../Common -optimize-match-table=false %s -o %T/hwmode-non-optimized.cpp
// RUN: FileCheck %s --check-prefixes=CHECK -input-file=%T/hwmode-non-optimized.cpp
include "llvm/Target/Target.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitterMatchTableOptimizer.td b/llvm/test/TableGen/GlobalISelEmitter/MatchTableOptimizer.td
similarity index 98%
rename from llvm/test/TableGen/GlobalISelEmitterMatchTableOptimizer.td
rename to llvm/test/TableGen/GlobalISelEmitter/MatchTableOptimizer.td
index 3db31bea8612ee..c4307258aae9a7 100644
--- a/llvm/test/TableGen/GlobalISelEmitterMatchTableOptimizer.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/MatchTableOptimizer.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen %s -gen-global-isel -optimize-match-table=true -I %p/../../include -I %p/Common -o - | FileCheck %s
+// RUN: llvm-tblgen %s -gen-global-isel -optimize-match-table=true -I %p/../../../include -I %p/../Common | FileCheck %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitterMatchTableOptimizerSameOperand-invalid.td b/llvm/test/TableGen/GlobalISelEmitter/MatchTableOptimizerSameOperand-invalid.td
similarity index 99%
rename from llvm/test/TableGen/GlobalISelEmitterMatchTableOptimizerSameOperand-invalid.td
rename to llvm/test/TableGen/GlobalISelEmitter/MatchTableOptimizerSameOperand-invalid.td
index d93805b612a19e..18ae76720518dd 100644
--- a/llvm/test/TableGen/GlobalISelEmitterMatchTableOptimizerSameOperand-invalid.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/MatchTableOptimizerSameOperand-invalid.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen %s -gen-global-isel -optimize-match-table=true -I %p/../../include -I %p/Common -o - | FileCheck %s
+// RUN: llvm-tblgen %s -gen-global-isel -optimize-match-table=true -I %p/../../../include -I %p/../Common | FileCheck %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitterMatchTableOptimizerSameOperand.td b/llvm/test/TableGen/GlobalISelEmitter/MatchTableOptimizerSameOperand.td
similarity index 95%
rename from llvm/test/TableGen/GlobalISelEmitterMatchTableOptimizerSameOperand.td
rename to llvm/test/TableGen/GlobalISelEmitter/MatchTableOptimizerSameOperand.td
index 1ac33990ab3b10..c6ca9b7fbed5d0 100644
--- a/llvm/test/TableGen/GlobalISelEmitterMatchTableOptimizerSameOperand.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/MatchTableOptimizerSameOperand.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen %s -gen-global-isel -optimize-match-table=true -I %p/../../include -I %p/Common -o - | FileCheck %s
+// RUN: llvm-tblgen %s -gen-global-isel -optimize-match-table=true -I %p/../../../include -I %p/../Common | FileCheck %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitterOverloadedPtr.td b/llvm/test/TableGen/GlobalISelEmitter/OverloadedPtr.td
similarity index 94%
rename from llvm/test/TableGen/GlobalISelEmitterOverloadedPtr.td
rename to llvm/test/TableGen/GlobalISelEmitter/OverloadedPtr.td
index 422edbba0e7a0f..c70211d6652250 100644
--- a/llvm/test/TableGen/GlobalISelEmitterOverloadedPtr.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/OverloadedPtr.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -gen-global-isel -I %p/../../include -I %p/Common %s -o - | FileCheck %s
+// RUN: llvm-tblgen -gen-global-isel -I %p/../../../include -I %p/../Common %s | FileCheck %s
// Boilerplate code.
include "llvm/Target/Target.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitter-PR39045.td b/llvm/test/TableGen/GlobalISelEmitter/PR39045.td
similarity index 92%
rename from llvm/test/TableGen/GlobalISelEmitter-PR39045.td
rename to llvm/test/TableGen/GlobalISelEmitter/PR39045.td
index 5407222121bb3a..595fa92f6773f8 100644
--- a/llvm/test/TableGen/GlobalISelEmitter-PR39045.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/PR39045.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -gen-global-isel -I %p/../../include -I %p/Common %s -o %t
+// RUN: llvm-tblgen -gen-global-isel -I %p/../../../include -I %p/../Common %s -o %t
// RUN: FileCheck %s < %t
// Both predicates should be tested
diff --git a/llvm/test/TableGen/GlobalISelEmitterRegSequence.td b/llvm/test/TableGen/GlobalISelEmitter/RegSequence.td
similarity index 98%
rename from llvm/test/TableGen/GlobalISelEmitterRegSequence.td
rename to llvm/test/TableGen/GlobalISelEmitter/RegSequence.td
index 69f82eac49c161..97790fb483933e 100644
--- a/llvm/test/TableGen/GlobalISelEmitterRegSequence.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/RegSequence.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen %s -gen-global-isel -optimize-match-table=false -I %p/../../include -I %p/Common -o - | FileCheck %s
+// RUN: llvm-tblgen %s -gen-global-isel -optimize-match-table=false -I %p/../../../include -I %p/../Common | FileCheck %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitter-SDNodeXForm-timm.td b/llvm/test/TableGen/GlobalISelEmitter/SDNodeXForm-timm.td
similarity index 93%
rename from llvm/test/TableGen/GlobalISelEmitter-SDNodeXForm-timm.td
rename to llvm/test/TableGen/GlobalISelEmitter/SDNodeXForm-timm.td
index 8d6dedf2f920ce..fab395dc2dfc28 100644
--- a/llvm/test/TableGen/GlobalISelEmitter-SDNodeXForm-timm.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/SDNodeXForm-timm.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -optimize-match-table=false -I %p/../../include -I %p/Common %s -o - | FileCheck -check-prefix=GISEL %s
+// RUN: llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -optimize-match-table=false -I %p/../../../include -I %p/../Common %s | FileCheck -check-prefix=GISEL %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitterSkippedPatterns.td b/llvm/test/TableGen/GlobalISelEmitter/SkippedPatterns.td
similarity index 86%
rename from llvm/test/TableGen/GlobalISelEmitterSkippedPatterns.td
rename to llvm/test/TableGen/GlobalISelEmitter/SkippedPatterns.td
index fc8abc6fbc547e..9d9d3f936e3e45 100644
--- a/llvm/test/TableGen/GlobalISelEmitterSkippedPatterns.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/SkippedPatterns.td
@@ -1,5 +1,5 @@
-// RUN: llvm-tblgen -warn-on-skipped-patterns -gen-global-isel -I %p/../../include %s -I %p/Common -o /dev/null 2>&1 | FileCheck %s
-// RUN: llvm-tblgen -warn-on-skipped-patterns -gen-global-isel -I %p/../../include %s -I %p/Common -o /dev/null -DIGNORE 2>&1 | FileCheck --allow-empty --check-prefix=IGNORED %s
+// RUN: llvm-tblgen -warn-on-skipped-patterns -gen-global-isel -I %p/../../../include %s -I %p/../Common -o /dev/null 2>&1 | FileCheck %s
+// RUN: llvm-tblgen -warn-on-skipped-patterns -gen-global-isel -I %p/../../../include %s -I %p/../Common -o /dev/null -DIGNORE 2>&1 | FileCheck --allow-empty --check-prefix=IGNORED %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitterSubreg.td b/llvm/test/TableGen/GlobalISelEmitter/Subreg.td
similarity index 99%
rename from llvm/test/TableGen/GlobalISelEmitterSubreg.td
rename to llvm/test/TableGen/GlobalISelEmitter/Subreg.td
index 08e690f3e894de..5203c2b4a6e4f8 100644
--- a/llvm/test/TableGen/GlobalISelEmitterSubreg.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/Subreg.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen %s -gen-global-isel -warn-on-skipped-patterns -I %p/../../include -I %p/Common -o - 2> %t.skipped | FileCheck %s
+// RUN: llvm-tblgen %s -gen-global-isel -warn-on-skipped-patterns -I %p/../../../include -I %p/../Common 2> %t.skipped | FileCheck %s
// RUN: cat %t.skipped | FileCheck %s --check-prefix=SKIPPED
include "llvm/Target/Target.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitterVariadic.td b/llvm/test/TableGen/GlobalISelEmitter/Variadic.td
similarity index 97%
rename from llvm/test/TableGen/GlobalISelEmitterVariadic.td
rename to llvm/test/TableGen/GlobalISelEmitter/Variadic.td
index 992e1a4b907c30..b3c80526af81f2 100644
--- a/llvm/test/TableGen/GlobalISelEmitterVariadic.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/Variadic.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -gen-global-isel -I %p/../../include -I %p/Common %s -o - | FileCheck %s
+// RUN: llvm-tblgen -gen-global-isel -I %p/../../../include -I %p/../Common %s | FileCheck %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitter-atomic_store.td b/llvm/test/TableGen/GlobalISelEmitter/atomic-store.td
similarity index 93%
rename from llvm/test/TableGen/GlobalISelEmitter-atomic_store.td
rename to llvm/test/TableGen/GlobalISelEmitter/atomic-store.td
index da2dfe8004289d..53b8670f47e633 100644
--- a/llvm/test/TableGen/GlobalISelEmitter-atomic_store.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/atomic-store.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -gen-global-isel -optimize-match-table=false -I %p/../../include -I %p/Common %s -o - < %s | FileCheck -check-prefix=GISEL %s
+// RUN: llvm-tblgen -gen-global-isel -optimize-match-table=false -I %p/../../../include -I %p/../Common %s | FileCheck -check-prefix=GISEL %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitter-frameindex.td b/llvm/test/TableGen/GlobalISelEmitter/frameindex.td
similarity index 98%
rename from llvm/test/TableGen/GlobalISelEmitter-frameindex.td
rename to llvm/test/TableGen/GlobalISelEmitter/frameindex.td
index 715e53ddbad08d..27784526a65bad 100644
--- a/llvm/test/TableGen/GlobalISelEmitter-frameindex.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/frameindex.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -gen-global-isel -optimize-match-table=false -I %p/../../include -I %p/Common %s | FileCheck %s
+// RUN: llvm-tblgen -gen-global-isel -optimize-match-table=false -I %p/../../../include -I %p/../Common %s | FileCheck %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/gisel-physreg-input.td b/llvm/test/TableGen/GlobalISelEmitter/gisel-physreg-input.td
similarity index 98%
rename from llvm/test/TableGen/gisel-physreg-input.td
rename to llvm/test/TableGen/GlobalISelEmitter/gisel-physreg-input.td
index f19872a331fc89..a05f364eb3f054 100644
--- a/llvm/test/TableGen/gisel-physreg-input.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/gisel-physreg-input.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -gen-global-isel -optimize-match-table=false -I %p/../../include %s -o - < %s | FileCheck -check-prefix=GISEL %s
+// RUN: llvm-tblgen -gen-global-isel -optimize-match-table=false -I %p/../../../include %s | FileCheck -check-prefix=GISEL %s
include "llvm/Target/Target.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitter-immAllZeroOne.td b/llvm/test/TableGen/GlobalISelEmitter/immAllZeroOne.td
similarity index 92%
rename from llvm/test/TableGen/GlobalISelEmitter-immAllZeroOne.td
rename to llvm/test/TableGen/GlobalISelEmitter/immAllZeroOne.td
index 0125aa5c30fa6d..68278f46627c61 100644
--- a/llvm/test/TableGen/GlobalISelEmitter-immAllZeroOne.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/immAllZeroOne.td
@@ -1,5 +1,5 @@
-// RUN: llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -optimize-match-table=false -I %p/../../include -I %p/Common %s -o - | FileCheck -check-prefixes=GISEL-NOOPT %s
-// RUN: llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -optimize-match-table=true -I %p/../../include -I %p/Common %s -o - | FileCheck -check-prefixes=GISEL-OPT %s
+// RUN: llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -optimize-match-table=false -I %p/../../../include -I %p/../Common %s | FileCheck -check-prefixes=GISEL-NOOPT %s
+// RUN: llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -optimize-match-table=true -I %p/../../../include -I %p/../Common %s | FileCheck -check-prefixes=GISEL-OPT %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitter-immarg-literal-pattern.td b/llvm/test/TableGen/GlobalISelEmitter/immarg-literal-pattern.td
similarity index 95%
rename from llvm/test/TableGen/GlobalISelEmitter-immarg-literal-pattern.td
rename to llvm/test/TableGen/GlobalISelEmitter/immarg-literal-pattern.td
index 6b4012eb736cb3..ff05ac12f32ce7 100644
--- a/llvm/test/TableGen/GlobalISelEmitter-immarg-literal-pattern.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/immarg-literal-pattern.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -optimize-match-table=false -I %p/../../include -I %p/Common %s -o - | FileCheck -check-prefix=GISEL %s
+// RUN: llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -optimize-match-table=false -I %p/../../../include -I %p/../Common %s | FileCheck -check-prefix=GISEL %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/immarg-predicated.td b/llvm/test/TableGen/GlobalISelEmitter/immarg-predicated.td
similarity index 92%
rename from llvm/test/TableGen/immarg-predicated.td
rename to llvm/test/TableGen/GlobalISelEmitter/immarg-predicated.td
index dcacb2f8f1de35..ab412fac48e128 100644
--- a/llvm/test/TableGen/immarg-predicated.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/immarg-predicated.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -gen-global-isel -optimize-match-table=false -I %p/Common -I %p/../../include %s -o - < %s | FileCheck -check-prefix=GISEL %s
+// RUN: llvm-tblgen -gen-global-isel -optimize-match-table=false -I %p/../Common -I %p/../../../include %s | FileCheck -check-prefix=GISEL %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/immarg.td b/llvm/test/TableGen/GlobalISelEmitter/immarg.td
similarity index 93%
rename from llvm/test/TableGen/immarg.td
rename to llvm/test/TableGen/GlobalISelEmitter/immarg.td
index e5fd06ce6c083f..eae04094a689e6 100644
--- a/llvm/test/TableGen/immarg.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/immarg.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -gen-global-isel -optimize-match-table=false -I %p/Common -I %p/../../include %s -o - < %s | FileCheck -check-prefix=GISEL %s
+// RUN: llvm-tblgen -gen-global-isel -optimize-match-table=false -I %p/../Common -I %p/../../../include %s | FileCheck -check-prefix=GISEL %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitter-implicit-defs.td b/llvm/test/TableGen/GlobalISelEmitter/implicit-defs.td
similarity index 81%
rename from llvm/test/TableGen/GlobalISelEmitter-implicit-defs.td
rename to llvm/test/TableGen/GlobalISelEmitter/implicit-defs.td
index 79af1a336f2890..06e5e39a68175e 100644
--- a/llvm/test/TableGen/GlobalISelEmitter-implicit-defs.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/implicit-defs.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -I %p/../../include -I %p/Common %s -o /dev/null 2>&1 < %s | FileCheck %s --implicit-check-not="Skipped pattern"
+// RUN: llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -I %p/../../../include -I %p/../Common %s -o /dev/null 2>&1 | FileCheck %s --implicit-check-not="Skipped pattern"
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitter-input-discard.td b/llvm/test/TableGen/GlobalISelEmitter/input-discard.td
similarity index 95%
rename from llvm/test/TableGen/GlobalISelEmitter-input-discard.td
rename to llvm/test/TableGen/GlobalISelEmitter/input-discard.td
index 202ff4a5758d7f..65ebfa2c5b3251 100644
--- a/llvm/test/TableGen/GlobalISelEmitter-input-discard.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/input-discard.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -I %p/../../include -I %p/Common %s -o - < %s | FileCheck -check-prefix=GISEL %s
+// RUN: llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -I %p/../../../include -I %p/../Common %s | FileCheck -check-prefix=GISEL %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitter-multiple-output-discard.td b/llvm/test/TableGen/GlobalISelEmitter/multiple-output-discard.td
similarity index 96%
rename from llvm/test/TableGen/GlobalISelEmitter-multiple-output-discard.td
rename to llvm/test/TableGen/GlobalISelEmitter/multiple-output-discard.td
index 2d968bebbc65e0..a180431b94f6ff 100644
--- a/llvm/test/TableGen/GlobalISelEmitter-multiple-output-discard.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/multiple-output-discard.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -gen-global-isel -optimize-match-table=false -warn-on-skipped-patterns -I %p/../../include -I %p/Common %s -o - < %s | FileCheck %s
+// RUN: llvm-tblgen -gen-global-isel -optimize-match-table=false -warn-on-skipped-patterns -I %p/../../../include -I %p/../Common %s | FileCheck %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitter-multiple-output.td b/llvm/test/TableGen/GlobalISelEmitter/multiple-output.td
similarity index 98%
rename from llvm/test/TableGen/GlobalISelEmitter-multiple-output.td
rename to llvm/test/TableGen/GlobalISelEmitter/multiple-output.td
index dea3b549607170..baf767598f82c5 100644
--- a/llvm/test/TableGen/GlobalISelEmitter-multiple-output.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/multiple-output.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -gen-global-isel -optimize-match-table=false -warn-on-skipped-patterns -I %p/../../include -I %p/Common %s -o - < %s | FileCheck %s
+// RUN: llvm-tblgen -gen-global-isel -optimize-match-table=false -warn-on-skipped-patterns -I %p/../../../include -I %p/../Common %s | FileCheck %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitter-nested-subregs.td b/llvm/test/TableGen/GlobalISelEmitter/nested-subregs.td
similarity index 98%
rename from llvm/test/TableGen/GlobalISelEmitter-nested-subregs.td
rename to llvm/test/TableGen/GlobalISelEmitter/nested-subregs.td
index 79e55ef2e8b8ce..8688e4f04bab9d 100644
--- a/llvm/test/TableGen/GlobalISelEmitter-nested-subregs.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/nested-subregs.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen %s -gen-global-isel -optimize-match-table=false -I %p/../../include -I %p/Common -o - | FileCheck %s
+// RUN: llvm-tblgen %s -gen-global-isel -optimize-match-table=false -I %p/../../../include -I %p/../Common | FileCheck %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitter-notype-output-pattern.td b/llvm/test/TableGen/GlobalISelEmitter/notype-output-pattern.td
similarity index 89%
rename from llvm/test/TableGen/GlobalISelEmitter-notype-output-pattern.td
rename to llvm/test/TableGen/GlobalISelEmitter/notype-output-pattern.td
index 622d7fa1f7955c..80b125649ed2d9 100644
--- a/llvm/test/TableGen/GlobalISelEmitter-notype-output-pattern.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/notype-output-pattern.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -gen-global-isel -I %p/../../include -I %p/Common %s | FileCheck %s
+// RUN: llvm-tblgen -gen-global-isel -I %p/../../../include -I %p/../Common %s | FileCheck %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitter-optional-def.td b/llvm/test/TableGen/GlobalISelEmitter/optional-def.td
similarity index 97%
rename from llvm/test/TableGen/GlobalISelEmitter-optional-def.td
rename to llvm/test/TableGen/GlobalISelEmitter/optional-def.td
index def4a0447fe53f..7792a97e1377e1 100644
--- a/llvm/test/TableGen/GlobalISelEmitter-optional-def.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/optional-def.td
@@ -1,5 +1,5 @@
// RUN: llvm-tblgen -gen-global-isel -warn-on-skipped-patterns \
-// RUN: -I %p/../../include -I %p/Common %s 2> %t | FileCheck %s
+// RUN: -I %p/../../../include -I %p/../Common %s 2> %t | FileCheck %s
// RUN: FileCheck -DFILE=%s -check-prefix=ERR %s < %t
include "llvm/Target/Target.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitter-output-discard.td b/llvm/test/TableGen/GlobalISelEmitter/output-discard.td
similarity index 94%
rename from llvm/test/TableGen/GlobalISelEmitter-output-discard.td
rename to llvm/test/TableGen/GlobalISelEmitter/output-discard.td
index 7a0242d9a99243..c249dcbe214e0a 100644
--- a/llvm/test/TableGen/GlobalISelEmitter-output-discard.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/output-discard.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -I %p/../../include -I %p/Common %s -o - < %s | FileCheck -check-prefix=GISEL %s
+// RUN: llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -I %p/../../../include -I %p/../Common %s | FileCheck -check-prefix=GISEL %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitter-setcc.td b/llvm/test/TableGen/GlobalISelEmitter/setcc.td
similarity index 91%
rename from llvm/test/TableGen/GlobalISelEmitter-setcc.td
rename to llvm/test/TableGen/GlobalISelEmitter/setcc.td
index 38add7627f5030..02622d0358ee65 100644
--- a/llvm/test/TableGen/GlobalISelEmitter-setcc.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/setcc.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -optimize-match-table=false -I %p/../../include -I %p/Common %s -o - 2> %t < %s | FileCheck -check-prefix=GISEL %s
+// RUN: llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -optimize-match-table=false -I %p/../../../include -I %p/../Common %s 2> %t | FileCheck -check-prefix=GISEL %s
// RUN: FileCheck -DFILE=%s -check-prefix=ERR %s < %t
include "llvm/Target/Target.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitter-zero-instr.td b/llvm/test/TableGen/GlobalISelEmitter/zero-instr.td
similarity index 71%
rename from llvm/test/TableGen/GlobalISelEmitter-zero-instr.td
rename to llvm/test/TableGen/GlobalISelEmitter/zero-instr.td
index c8a8cab2b65232..f9463ba0fefc4a 100644
--- a/llvm/test/TableGen/GlobalISelEmitter-zero-instr.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/zero-instr.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -gen-global-isel -optimize-match-table=false -I %p/../../include -I %p/Common %s -o /dev/null --warn-on-skipped-patterns 2>&1 < %s 2>&1 | FileCheck %s
+// RUN: llvm-tblgen -gen-global-isel -optimize-match-table=false -I %p/../../../include -I %p/../Common %s -o /dev/null --warn-on-skipped-patterns 2>&1 | FileCheck %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
diff --git a/llvm/test/TableGen/GlobalISelEmitter-zero-reg.td b/llvm/test/TableGen/GlobalISelEmitter/zero-reg.td
similarity index 97%
rename from llvm/test/TableGen/GlobalISelEmitter-zero-reg.td
rename to llvm/test/TableGen/GlobalISelEmitter/zero-reg.td
index ddf02240ee1f8b..87e54320933779 100644
--- a/llvm/test/TableGen/GlobalISelEmitter-zero-reg.td
+++ b/llvm/test/TableGen/GlobalISelEmitter/zero-reg.td
@@ -1,4 +1,4 @@
-// RUN: llvm-tblgen -gen-global-isel -optimize-match-table=false -I %p/../../include -I %p/Common %s -o - < %s | FileCheck %s
+// RUN: llvm-tblgen -gen-global-isel -optimize-match-table=false -I %p/../../../include -I %p/../Common %s | FileCheck %s
include "llvm/Target/Target.td"
include "GlobalISelEmitterCommon.td"
More information about the llvm-commits
mailing list