[DirectX] Remove --filetype=asm from tests#201600
Merged
Merged
Conversation
--filetype=asm is the default. Suggested by arsenm.
|
@llvm/pr-subscribers-backend-directx Author: Harald van Dijk (hvdijk) Changes--filetype=asm is the default. Suggested by arsenm. Full diff: https://github.com/llvm/llvm-project/pull/201600.diff 18 Files Affected:
diff --git a/llvm/test/CodeGen/DirectX/DebugInfo/di-compile-unit-versioned-language.ll b/llvm/test/CodeGen/DirectX/DebugInfo/di-compile-unit-versioned-language.ll
index bcf27509deaa5..d4869f6c16ba6 100755
--- a/llvm/test/CodeGen/DirectX/DebugInfo/di-compile-unit-versioned-language.ll
+++ b/llvm/test/CodeGen/DirectX/DebugInfo/di-compile-unit-versioned-language.ll
@@ -1,4 +1,4 @@
-; RUN: llc --filetype=asm %s -o - | FileCheck %s
+; RUN: llc %s -o - | FileCheck %s
target triple = "dxil-unknown-shadermodel6.3-library"
diff --git a/llvm/test/CodeGen/DirectX/DebugInfo/di-subprogram.ll b/llvm/test/CodeGen/DirectX/DebugInfo/di-subprogram.ll
index fd73830985e12..62f5beeed6826 100755
--- a/llvm/test/CodeGen/DirectX/DebugInfo/di-subprogram.ll
+++ b/llvm/test/CodeGen/DirectX/DebugInfo/di-subprogram.ll
@@ -1,4 +1,4 @@
-; RUN: llc --filetype=asm %s -o - | FileCheck %s
+; RUN: llc %s -o - | FileCheck %s
target triple = "dxil-unknown-shadermodel6.7-library"
define float @fmaf(float %x, float %y, float %z) !dbg !4 {
diff --git a/llvm/test/CodeGen/DirectX/Metadata/cbuffer-metadata.ll b/llvm/test/CodeGen/DirectX/Metadata/cbuffer-metadata.ll
index 6b90e17816991..ca1e804c3a28d 100644
--- a/llvm/test/CodeGen/DirectX/Metadata/cbuffer-metadata.ll
+++ b/llvm/test/CodeGen/DirectX/Metadata/cbuffer-metadata.ll
@@ -1,6 +1,6 @@
; RUN: opt -S -dxil-translate-metadata < %s | FileCheck %s
; RUN: opt -S --passes="dxil-pretty-printer" < %s 2>&1 | FileCheck %s --check-prefix=PRINT
-; RUN: llc %s --filetype=asm -o - < %s 2>&1 | FileCheck %s --check-prefixes=CHECK,PRINT
+; RUN: llc %s -o - < %s 2>&1 | FileCheck %s --check-prefixes=CHECK,PRINT
target triple = "dxil-pc-shadermodel6.6-compute"
diff --git a/llvm/test/CodeGen/DirectX/Metadata/dx_precise.ll b/llvm/test/CodeGen/DirectX/Metadata/dx_precise.ll
index 951319cb8c90a..3dcc7db3b6478 100644
--- a/llvm/test/CodeGen/DirectX/Metadata/dx_precise.ll
+++ b/llvm/test/CodeGen/DirectX/Metadata/dx_precise.ll
@@ -1,4 +1,4 @@
-; RUN: llc %s --filetype=asm -o - 2>&1 | FileCheck %s
+; RUN: llc %s -o - 2>&1 | FileCheck %s
target triple = "dxil-pc-shadermodel6.6-compute"
diff --git a/llvm/test/CodeGen/DirectX/Metadata/srv_metadata.ll b/llvm/test/CodeGen/DirectX/Metadata/srv_metadata.ll
index ea8f418d4dada..193c0425fb4e6 100644
--- a/llvm/test/CodeGen/DirectX/Metadata/srv_metadata.ll
+++ b/llvm/test/CodeGen/DirectX/Metadata/srv_metadata.ll
@@ -1,6 +1,6 @@
; RUN: opt -S -dxil-translate-metadata < %s | FileCheck %s
; RUN: opt -S --passes="dxil-pretty-printer" < %s 2>&1 | FileCheck %s --check-prefix=PRINT
-; RUN: llc %s --filetype=asm -o - 2>&1 | FileCheck %s --check-prefixes=CHECK,PRINT
+; RUN: llc %s -o - 2>&1 | FileCheck %s --check-prefixes=CHECK,PRINT
target datalayout = "e-m:e-p:32:32-i1:32-i8:8-i16:16-i32:32-i64:64-f16:16-f32:32-f64:64-n8:16:32:64"
target triple = "dxil-pc-shadermodel6.6-compute"
diff --git a/llvm/test/CodeGen/DirectX/Metadata/uav_metadata.ll b/llvm/test/CodeGen/DirectX/Metadata/uav_metadata.ll
index 0f7d56fb1261e..59e22f226209c 100644
--- a/llvm/test/CodeGen/DirectX/Metadata/uav_metadata.ll
+++ b/llvm/test/CodeGen/DirectX/Metadata/uav_metadata.ll
@@ -1,6 +1,6 @@
; RUN: opt -S -dxil-translate-metadata < %s | FileCheck %s
; RUN: opt -S --passes="dxil-pretty-printer" < %s 2>&1 | FileCheck %s --check-prefix=PRINT
-; RUN: llc %s --filetype=asm -o - 2>&1 | FileCheck %s --check-prefixes=CHECK,PRINT
+; RUN: llc %s -o - 2>&1 | FileCheck %s --check-prefixes=CHECK,PRINT
target datalayout = "e-m:e-p:32:32-i1:32-i8:8-i16:16-i32:32-i64:64-f16:16-f32:32-f64:64-n8:16:32:64"
target triple = "dxil-pc-shadermodel6.6-compute"
diff --git a/llvm/test/CodeGen/DirectX/ResourceGlobalElimination.ll b/llvm/test/CodeGen/DirectX/ResourceGlobalElimination.ll
index 34eb5554e90ef..5d73160e58610 100644
--- a/llvm/test/CodeGen/DirectX/ResourceGlobalElimination.ll
+++ b/llvm/test/CodeGen/DirectX/ResourceGlobalElimination.ll
@@ -3,8 +3,8 @@
; Finish compiling to verify that dxil-op-lower removes the globals entirely.
; RUN: opt -mtriple=dxil-pc-shadermodel6.0-compute -S -dxil-op-lower %t -o - | FileCheck --check-prefixes=DXOP,CHECK %s
; RUN: opt -mtriple=dxil-pc-shadermodel6.6-compute -S -dxil-op-lower %t -o - | FileCheck --check-prefixes=DXOP,CHECK %s
-; RUN: llc -mtriple=dxil-pc-shadermodel6.0-compute --filetype=asm -o - %t | FileCheck --check-prefixes=DXOP,CHECK %s
-; RUN: llc -mtriple=dxil-pc-shadermodel6.6-compute --filetype=asm -o - %t | FileCheck --check-prefixes=DXOP,CHECK %s
+; RUN: llc -mtriple=dxil-pc-shadermodel6.0-compute -o - %t | FileCheck --check-prefixes=DXOP,CHECK %s
+; RUN: llc -mtriple=dxil-pc-shadermodel6.6-compute -o - %t | FileCheck --check-prefixes=DXOP,CHECK %s
; Ensure that EarlyCSE is able to eliminate unneeded loads of resource globals across typedBufferLoad.
; Also that DXILOpLowering eliminates the globals entirely.
diff --git a/llvm/test/CodeGen/DirectX/conflicting-bitcast-insert.ll b/llvm/test/CodeGen/DirectX/conflicting-bitcast-insert.ll
index 39e21daceea81..f7a22be0cd2ce 100644
--- a/llvm/test/CodeGen/DirectX/conflicting-bitcast-insert.ll
+++ b/llvm/test/CodeGen/DirectX/conflicting-bitcast-insert.ll
@@ -1,4 +1,4 @@
-; RUN: llc --filetype=asm %s -o - | FileCheck %s
+; RUN: llc %s -o - | FileCheck %s
target triple = "dxil-unknown-shadermodel6.7-library"
define i64 @test(ptr %p) #0 {
diff --git a/llvm/test/CodeGen/DirectX/debug-info.ll b/llvm/test/CodeGen/DirectX/debug-info.ll
index e78b5ab5547aa..93eb2baab1c95 100644
--- a/llvm/test/CodeGen/DirectX/debug-info.ll
+++ b/llvm/test/CodeGen/DirectX/debug-info.ll
@@ -1,4 +1,4 @@
-; RUN: llc --filetype=asm %s -o - | FileCheck %s
+; RUN: llc %s -o - | FileCheck %s
;
; Verify that we are able to print LLVM IR containing downgraded debug
; intrinsics, #194884.
diff --git a/llvm/test/CodeGen/DirectX/finalize-linkage-remove-dead-lib.ll b/llvm/test/CodeGen/DirectX/finalize-linkage-remove-dead-lib.ll
index 78045ddcd85aa..1964700e16b5d 100644
--- a/llvm/test/CodeGen/DirectX/finalize-linkage-remove-dead-lib.ll
+++ b/llvm/test/CodeGen/DirectX/finalize-linkage-remove-dead-lib.ll
@@ -1,5 +1,5 @@
; RUN: opt -S -dxil-finalize-linkage -mtriple=dxil-unknown-shadermodel6.5-library %s | FileCheck %s
-; RUN: llc %s --filetype=asm -o - | FileCheck %s
+; RUN: llc %s -o - | FileCheck %s
target triple = "dxilv1.5-pc-shadermodel6.5-compute"
diff --git a/llvm/test/CodeGen/DirectX/finalize-linkage-remove-dead.ll b/llvm/test/CodeGen/DirectX/finalize-linkage-remove-dead.ll
index 971451f981c99..c29ef2298b684 100644
--- a/llvm/test/CodeGen/DirectX/finalize-linkage-remove-dead.ll
+++ b/llvm/test/CodeGen/DirectX/finalize-linkage-remove-dead.ll
@@ -1,5 +1,5 @@
; RUN: opt -S -dxil-finalize-linkage -mtriple=dxil-unknown-shadermodel6.5-compute %s | FileCheck %s
-; RUN: llc %s --filetype=asm -o - | FileCheck %s
+; RUN: llc %s -o - | FileCheck %s
target triple = "dxilv1.5-pc-shadermodel6.5-compute"
diff --git a/llvm/test/CodeGen/DirectX/finalize_linkage.ll b/llvm/test/CodeGen/DirectX/finalize_linkage.ll
index f6e54cf907a64..1296b9ca567cc 100644
--- a/llvm/test/CodeGen/DirectX/finalize_linkage.ll
+++ b/llvm/test/CodeGen/DirectX/finalize_linkage.ll
@@ -1,5 +1,5 @@
; RUN: opt -S -dxil-finalize-linkage -mtriple=dxil-unknown-shadermodel6.5-compute %s | FileCheck %s
-; RUN: llc %s --filetype=asm -o - | FileCheck %s --check-prefixes=CHECK-LLC
+; RUN: llc %s -o - | FileCheck %s --check-prefixes=CHECK-LLC
target triple = "dxilv1.5-pc-shadermodel6.5-compute"
diff --git a/llvm/test/CodeGen/DirectX/llc-vector-load-scalarize.ll b/llvm/test/CodeGen/DirectX/llc-vector-load-scalarize.ll
index 0c91c53227763..a57130a038fdc 100644
--- a/llvm/test/CodeGen/DirectX/llc-vector-load-scalarize.ll
+++ b/llvm/test/CodeGen/DirectX/llc-vector-load-scalarize.ll
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --tool llc --version 5
-; RUN: llc %s -mtriple=dxil-pc-shadermodel6.3-library --filetype=asm -o - | FileCheck %s
+; RUN: llc %s -mtriple=dxil-pc-shadermodel6.3-library -o - | FileCheck %s
; Make sure we can load groupshared, static vectors and arrays of vectors
diff --git a/llvm/test/CodeGen/DirectX/omit-bitcast-insert.ll b/llvm/test/CodeGen/DirectX/omit-bitcast-insert.ll
index 734ff1b4dd2d5..6afdf38391b48 100644
--- a/llvm/test/CodeGen/DirectX/omit-bitcast-insert.ll
+++ b/llvm/test/CodeGen/DirectX/omit-bitcast-insert.ll
@@ -1,4 +1,4 @@
-; RUN: llc --filetype=asm %s -o - | FileCheck %s
+; RUN: llc %s -o - | FileCheck %s
target triple = "dxil-unknown-shadermodel6.7-library"
define i64 @test(ptr %p) #0 {
diff --git a/llvm/test/CodeGen/DirectX/remove-dead-intriniscs.ll b/llvm/test/CodeGen/DirectX/remove-dead-intriniscs.ll
index e3b1f0b69d0b7..eec0bb21f04b9 100644
--- a/llvm/test/CodeGen/DirectX/remove-dead-intriniscs.ll
+++ b/llvm/test/CodeGen/DirectX/remove-dead-intriniscs.ll
@@ -1,5 +1,5 @@
-; RUN: llc %s -mtriple=dxil-pc-shadermodel6.3-library --filetype=asm -o - | FileCheck %s
+; RUN: llc %s -mtriple=dxil-pc-shadermodel6.3-library -o - | FileCheck %s
declare void @llvm.lifetime.start.p0(i64, ptr) #1
declare void @llvm.lifetime.end.p0(i64, ptr) #1
diff --git a/llvm/test/CodeGen/DirectX/scalar-store.ll b/llvm/test/CodeGen/DirectX/scalar-store.ll
index 4394235ffe4bd..6cf97bda984fc 100644
--- a/llvm/test/CodeGen/DirectX/scalar-store.ll
+++ b/llvm/test/CodeGen/DirectX/scalar-store.ll
@@ -1,4 +1,4 @@
-; RUN: llc %s -mtriple=dxil-pc-shadermodel6.3-library --filetype=asm -o - | FileCheck %s
+; RUN: llc %s -mtriple=dxil-pc-shadermodel6.3-library -o - | FileCheck %s
; Make sure we can store groupshared, static vectors and arrays of vectors
diff --git a/llvm/test/CodeGen/DirectX/scalarize-two-calls.ll b/llvm/test/CodeGen/DirectX/scalarize-two-calls.ll
index 7e8f58c0576f0..dc2e639f1ff17 100644
--- a/llvm/test/CodeGen/DirectX/scalarize-two-calls.ll
+++ b/llvm/test/CodeGen/DirectX/scalarize-two-calls.ll
@@ -1,4 +1,4 @@
-; RUN: llc %s -mtriple=dxil-pc-shadermodel6.3-library --filetype=asm -o - | FileCheck %s
+; RUN: llc %s -mtriple=dxil-pc-shadermodel6.3-library -o - | FileCheck %s
; CHECK: target triple = "dxilv1.3-pc-shadermodel6.3-library"
; CHECK-LABEL: cos_sin_float_test
diff --git a/llvm/test/CodeGen/DirectX/strip-fn-attrs.ll b/llvm/test/CodeGen/DirectX/strip-fn-attrs.ll
index 4223c90943194..7ccb210b98c14 100644
--- a/llvm/test/CodeGen/DirectX/strip-fn-attrs.ll
+++ b/llvm/test/CodeGen/DirectX/strip-fn-attrs.ll
@@ -1,4 +1,4 @@
-; RUN: llc %s --filetype=asm -o - | FileCheck %s
+; RUN: llc %s -o - | FileCheck %s
target triple = "dxil-unknown-shadermodel6.7-library"
; CHECK: Function Attrs: nounwind memory(none)
|
bogner
approved these changes
Jun 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
--filetype=asm is the default. Suggested by arsenm.