[llvm] c29536b - [test] Group GlobalISelEmitter tests under a subdirectory (#121093)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 25 00:32:41 PST 2024
Author: Sergei Barannikov
Date: 2024-12-25T11:32:37+03:00
New Revision: c29536b0336586b2ed7bafedf82c9f4e254cfaa6
URL: https://github.com/llvm/llvm-project/commit/c29536b0336586b2ed7bafedf82c9f4e254cfaa6
DIFF: https://github.com/llvm/llvm-project/commit/c29536b0336586b2ed7bafedf82c9f4e254cfaa6.diff
LOG: [test] Group GlobalISelEmitter tests under a subdirectory (#121093)
Remove extra command line arguments while here.
Added:
llvm/test/TableGen/GlobalISelEmitter/ContextlessPredicates.td
llvm/test/TableGen/GlobalISelEmitter/CustomPredicate.td
llvm/test/TableGen/GlobalISelEmitter/DefaultOpsGlobalISel.td
llvm/test/TableGen/GlobalISelEmitter/Flags.td
llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td
llvm/test/TableGen/GlobalISelEmitter/HwModes.td
llvm/test/TableGen/GlobalISelEmitter/MatchTableOptimizer.td
llvm/test/TableGen/GlobalISelEmitter/MatchTableOptimizerSameOperand-invalid.td
llvm/test/TableGen/GlobalISelEmitter/MatchTableOptimizerSameOperand.td
llvm/test/TableGen/GlobalISelEmitter/OverloadedPtr.td
llvm/test/TableGen/GlobalISelEmitter/PR39045.td
llvm/test/TableGen/GlobalISelEmitter/RegSequence.td
llvm/test/TableGen/GlobalISelEmitter/SDNodeXForm-timm.td
llvm/test/TableGen/GlobalISelEmitter/SkippedPatterns.td
llvm/test/TableGen/GlobalISelEmitter/Subreg.td
llvm/test/TableGen/GlobalISelEmitter/Variadic.td
llvm/test/TableGen/GlobalISelEmitter/atomic-store.td
llvm/test/TableGen/GlobalISelEmitter/frameindex.td
llvm/test/TableGen/GlobalISelEmitter/gisel-physreg-input.td
llvm/test/TableGen/GlobalISelEmitter/immAllZeroOne.td
llvm/test/TableGen/GlobalISelEmitter/immarg-literal-pattern.td
llvm/test/TableGen/GlobalISelEmitter/immarg-predicated.td
llvm/test/TableGen/GlobalISelEmitter/immarg.td
llvm/test/TableGen/GlobalISelEmitter/implicit-defs.td
llvm/test/TableGen/GlobalISelEmitter/input-discard.td
llvm/test/TableGen/GlobalISelEmitter/multiple-output-discard.td
llvm/test/TableGen/GlobalISelEmitter/multiple-output.td
llvm/test/TableGen/GlobalISelEmitter/nested-subregs.td
llvm/test/TableGen/GlobalISelEmitter/notype-output-pattern.td
llvm/test/TableGen/GlobalISelEmitter/optional-def.td
llvm/test/TableGen/GlobalISelEmitter/output-discard.td
llvm/test/TableGen/GlobalISelEmitter/setcc.td
llvm/test/TableGen/GlobalISelEmitter/zero-instr.td
llvm/test/TableGen/GlobalISelEmitter/zero-reg.td
Modified:
Removed:
llvm/test/TableGen/ContextlessPredicates.td
llvm/test/TableGen/DefaultOpsGlobalISel.td
llvm/test/TableGen/GlobalISelEmitter-PR39045.td
llvm/test/TableGen/GlobalISelEmitter-SDNodeXForm-timm.td
llvm/test/TableGen/GlobalISelEmitter-atomic_store.td
llvm/test/TableGen/GlobalISelEmitter-frameindex.td
llvm/test/TableGen/GlobalISelEmitter-immAllZeroOne.td
llvm/test/TableGen/GlobalISelEmitter-immarg-literal-pattern.td
llvm/test/TableGen/GlobalISelEmitter-implicit-defs.td
llvm/test/TableGen/GlobalISelEmitter-input-discard.td
llvm/test/TableGen/GlobalISelEmitter-multiple-output-discard.td
llvm/test/TableGen/GlobalISelEmitter-multiple-output.td
llvm/test/TableGen/GlobalISelEmitter-nested-subregs.td
llvm/test/TableGen/GlobalISelEmitter-notype-output-pattern.td
llvm/test/TableGen/GlobalISelEmitter-optional-def.td
llvm/test/TableGen/GlobalISelEmitter-output-discard.td
llvm/test/TableGen/GlobalISelEmitter-setcc.td
llvm/test/TableGen/GlobalISelEmitter-zero-instr.td
llvm/test/TableGen/GlobalISelEmitter-zero-reg.td
llvm/test/TableGen/GlobalISelEmitter.td
llvm/test/TableGen/GlobalISelEmitterCustomPredicate.td
llvm/test/TableGen/GlobalISelEmitterFlags.td
llvm/test/TableGen/GlobalISelEmitterHwModes.td
llvm/test/TableGen/GlobalISelEmitterMatchTableOptimizer.td
llvm/test/TableGen/GlobalISelEmitterMatchTableOptimizerSameOperand-invalid.td
llvm/test/TableGen/GlobalISelEmitterMatchTableOptimizerSameOperand.td
llvm/test/TableGen/GlobalISelEmitterOverloadedPtr.td
llvm/test/TableGen/GlobalISelEmitterRegSequence.td
llvm/test/TableGen/GlobalISelEmitterSkippedPatterns.td
llvm/test/TableGen/GlobalISelEmitterSubreg.td
llvm/test/TableGen/GlobalISelEmitterVariadic.td
llvm/test/TableGen/gisel-physreg-input.td
llvm/test/TableGen/immarg-predicated.td
llvm/test/TableGen/immarg.td
################################################################################
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