[llvm] [DirectX] Make a test a bit more readable. NFC (PR #160747)
Justin Bogner via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 25 10:47:15 PDT 2025
https://github.com/bogner created https://github.com/llvm/llvm-project/pull/160747
CHECK-lines ignore whitespace, so we can remove some here and make this a bit easier to read.
>From da27548164fdaf27d4b232539dd2eca48df9a64c Mon Sep 17 00:00:00 2001
From: Justin Bogner <mail at justinbogner.com>
Date: Tue, 19 Aug 2025 13:46:38 -0600
Subject: [PATCH] [DirectX] Make a test a bit more readable. NFC
CHECK-lines ignore whitespace, so we can remove some here and make this
a bit easier to read.
---
llvm/test/CodeGen/DirectX/Metadata/cbuffer_metadata.ll | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/llvm/test/CodeGen/DirectX/Metadata/cbuffer_metadata.ll b/llvm/test/CodeGen/DirectX/Metadata/cbuffer_metadata.ll
index 7ba2ed2988312..f1d28e28dafdc 100644
--- a/llvm/test/CodeGen/DirectX/Metadata/cbuffer_metadata.ll
+++ b/llvm/test/CodeGen/DirectX/Metadata/cbuffer_metadata.ll
@@ -19,11 +19,11 @@ target triple = "dxil-pc-shadermodel6.6-compute"
; PRINT:; Resource Bindings:
; PRINT-NEXT:;
-; PRINT-NEXT:; Name Type Format Dim ID HLSL Bind Count
-; PRINT-NEXT:; ------------------------------ ---------- ------- ----------- ------- -------------- ------
-; PRINT-NEXT:; CB1 cbuffer NA NA CB0 cb0 1
-; PRINT-NEXT:; CB2 cbuffer NA NA CB1 cb1 1
-; PRINT-NEXT:; MyConstants cbuffer NA NA CB2 cb5,space15 1
+; PRINT-NEXT:; Name Type Format Dim ID HLSL Bind Count
+; PRINT-NEXT:; ----
+; PRINT-NEXT:; CB1 cbuffer NA NA CB0 cb0 1
+; PRINT-NEXT:; CB2 cbuffer NA NA CB1 cb1 1
+; PRINT-NEXT:; MyConstants cbuffer NA NA CB2 cb5,space15 1
define void @test() #0 {
More information about the llvm-commits
mailing list