[llvm] 1652c4f - [NFC] Fixing test requirements I broke
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 9 07:11:50 PST 2022
Author: Chris Bieneman
Date: 2022-02-09T09:11:34-06:00
New Revision: 1652c4f2feea988c94cd9db985d28e26205b8bea
URL: https://github.com/llvm/llvm-project/commit/1652c4f2feea988c94cd9db985d28e26205b8bea
DIFF: https://github.com/llvm/llvm-project/commit/1652c4f2feea988c94cd9db985d28e26205b8bea.diff
LOG: [NFC] Fixing test requirements I broke
I broke these in 7a0cbe11fb26, thanks @ikudrin for catching it!
Added:
Modified:
llvm/test/CodeGen/MLRegalloc/default-eviction-advisor.ll
llvm/test/DebugInfo/dwarfdump-immutable.ll
llvm/test/tools/llc/binutils-version.ll
llvm/test/tools/llc/filetype-null-stop-after.ll
llvm/test/tools/llc/time-trace.ll
llvm/test/tools/llvm-lto/ltomodule.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/MLRegalloc/default-eviction-advisor.ll b/llvm/test/CodeGen/MLRegalloc/default-eviction-advisor.ll
index 0c9d2a7ab4a77..a48a25a82e288 100644
--- a/llvm/test/CodeGen/MLRegalloc/default-eviction-advisor.ll
+++ b/llvm/test/CodeGen/MLRegalloc/default-eviction-advisor.ll
@@ -2,7 +2,7 @@
; trying to use ML-driven advisor.
; REQUIRES: !have_tf_aot
; REQUIRES: !have_tf_api
-; REQUIRES: default_target
+; REQUIRES: default_triple
; RUN: not llc -O2 -regalloc-enable-advisor=development < %s 2>&1 | FileCheck %s
; RUN: not llc -O2 -regalloc-enable-advisor=release < %s 2>&1 | FileCheck %s
; RUN: llc -O2 -regalloc-enable-advisor=default < %s 2>&1 | FileCheck %s --check-prefix=DEFAULT
diff --git a/llvm/test/DebugInfo/dwarfdump-immutable.ll b/llvm/test/DebugInfo/dwarfdump-immutable.ll
index 4d8c262840a1b..c08fe3f21c378 100644
--- a/llvm/test/DebugInfo/dwarfdump-immutable.ll
+++ b/llvm/test/DebugInfo/dwarfdump-immutable.ll
@@ -1,6 +1,6 @@
;; This test checks whether DWARF tag DW_TAG_immutable_type
;; is accepted and processed.
-; REQUIRES: default_target
+; REQUIRES: default_triple
; RUN: %llc_dwarf %s -filetype=obj -o - | llvm-dwarfdump - | FileCheck %s
;; Test whether DW_TAG_immutable_type is accepted.
diff --git a/llvm/test/tools/llc/binutils-version.ll b/llvm/test/tools/llc/binutils-version.ll
index e6b0c52f401fe..f63807772bb04 100644
--- a/llvm/test/tools/llc/binutils-version.ll
+++ b/llvm/test/tools/llc/binutils-version.ll
@@ -1,5 +1,5 @@
;; Test valid and invalid -binutils-version values.
-; REQUIRES: default_target
+; REQUIRES: default_triple
; RUN: llc %s -filetype=null -binutils-version=none
; RUN: llc %s -filetype=null -binutils-version=2
; RUN: llc %s -filetype=null -binutils-version=2.35
diff --git a/llvm/test/tools/llc/filetype-null-stop-after.ll b/llvm/test/tools/llc/filetype-null-stop-after.ll
index 639334d1a255e..4b453f52aa6b7 100644
--- a/llvm/test/tools/llc/filetype-null-stop-after.ll
+++ b/llvm/test/tools/llc/filetype-null-stop-after.ll
@@ -1,4 +1,4 @@
; -stop-after would normally dump MIR, but with -filetype=null as well check
; there's no output at all.
-; REQUIRES: default_target
+; REQUIRES: default_triple
; RUN: llc -filetype=null -stop-after=finalize-isel -o - %s | count 0
diff --git a/llvm/test/tools/llc/time-trace.ll b/llvm/test/tools/llc/time-trace.ll
index 332b1d06bfada..99c5b69c59c1f 100644
--- a/llvm/test/tools/llc/time-trace.ll
+++ b/llvm/test/tools/llc/time-trace.ll
@@ -1,4 +1,4 @@
-; REQUIRES: default_target
+; REQUIRES: default_triple
; RUN: llc -o /dev/null -O2 -time-trace -time-trace-granularity=100 -time-trace-file=%t.json
; RUN: FileCheck --input-file=%t.json %s
diff --git a/llvm/test/tools/llvm-lto/ltomodule.ll b/llvm/test/tools/llvm-lto/ltomodule.ll
index 0c2275e622166..1f2b1b733baad 100644
--- a/llvm/test/tools/llvm-lto/ltomodule.ll
+++ b/llvm/test/tools/llvm-lto/ltomodule.ll
@@ -1,5 +1,5 @@
# RUN: rm -rf %t && split-file %s %t
-; REQUIRES: default_target
+; REQUIRES: default_triple
; RUN: llvm-as < %t/hasCtor.ll > %t.bc
; RUN: llvm-lto %t.bc -query-hasCtorDtor | FileCheck %s --check-prefixes=POSITIVE
More information about the llvm-commits
mailing list