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 eead9655111e6..fa3484e3f4a4e 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 3ceadf32f0642..56eaa4bdc57de 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 8f4176a2aa730..f88045ca9b00b 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 fa8f2a79fbce8..0878955f8f31e 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 ffefaba284299..7c8181410d400 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 9d235f5f07a74..3588ba3979411 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 3db31bea8612e..c4307258aae9a 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 d93805b612a19..18ae76720518d 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 1ac33990ab3b1..c6ca9b7fbed5d 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 422edbba0e7a0..c70211d665225 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 5407222121bb3..595fa92f6773f 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 69f82eac49c16..97790fb483933 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 8d6dedf2f920c..fab395dc2dfc2 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 fc8abc6fbc547..9d9d3f936e3e4 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 08e690f3e894d..5203c2b4a6e4f 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 992e1a4b907c3..b3c80526af81f 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 da2dfe8004289..53b8670f47e63 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 715e53ddbad08..27784526a65ba 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 f19872a331fc8..a05f364eb3f05 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 0125aa5c30fa6..68278f46627c6 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 6b4012eb736cb..ff05ac12f32ce 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 dcacb2f8f1de3..ab412fac48e12 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 e5fd06ce6c083..eae04094a689e 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 79af1a336f289..06e5e39a68175 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 202ff4a5758d7..65ebfa2c5b325 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 2d968bebbc65e..a180431b94f6f 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 dea3b54960717..baf767598f82c 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 79e55ef2e8b8c..8688e4f04bab9 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 622d7fa1f7955..80b125649ed2d 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 def4a0447fe53..7792a97e1377e 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 7a0242d9a9924..c249dcbe214e0 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 38add7627f503..02622d0358ee6 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 c8a8cab2b6523..f9463ba0fefc4 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 ddf02240ee1f8..87e5432093377 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"