[clang] df053d6 - [HLSL][NFC] Test cleanup - remove function attributes (#139302)
via cfe-commits
cfe-commits at lists.llvm.org
Fri May 9 14:14:55 PDT 2025
Author: Helena Kotas
Date: 2025-05-09T14:14:52-07:00
New Revision: df053d68ca5d59e48a2751188423e7c95c348dc1
URL: https://github.com/llvm/llvm-project/commit/df053d68ca5d59e48a2751188423e7c95c348dc1
DIFF: https://github.com/llvm/llvm-project/commit/df053d68ca5d59e48a2751188423e7c95c348dc1.diff
LOG: [HLSL][NFC] Test cleanup - remove function attributes (#139302)
The function attribute numbers are not stable. They are not part of the
test and can be removed.
Added:
Modified:
clang/test/CodeGenHLSL/builtins/StructuredBuffers-methods-ps.hlsl
Removed:
################################################################################
diff --git a/clang/test/CodeGenHLSL/builtins/StructuredBuffers-methods-ps.hlsl b/clang/test/CodeGenHLSL/builtins/StructuredBuffers-methods-ps.hlsl
index f2aea4e376b03..47afba27b6ebd 100644
--- a/clang/test/CodeGenHLSL/builtins/StructuredBuffers-methods-ps.hlsl
+++ b/clang/test/CodeGenHLSL/builtins/StructuredBuffers-methods-ps.hlsl
@@ -32,6 +32,6 @@ export float TestLoad() {
// CHECK: %[[PTR1:.*]] = call ptr @llvm.dx.resource.getpointer.p0.tdx.RawBuffer_f32_1_1t(target("dx.RawBuffer", float, 1, 1) %{{[0-9]+}}, i32 %{{[0-9]+}})
// CHECK: %[[VALUE1:.*]] = load float, ptr %[[PTR1]]
-// CHECK: declare i32 @llvm.dx.resource.updatecounter.tdx.RawBuffer_f32_1_0t(target("dx.RawBuffer", float, 1, 0), i8) #3
-// CHECK: declare i32 @llvm.dx.resource.updatecounter.tdx.RawBuffer_f32_1_1t(target("dx.RawBuffer", float, 1, 1), i8) #3
-// CHECK: declare ptr @llvm.dx.resource.getpointer.p0.tdx.RawBuffer_f32_1_1t(target("dx.RawBuffer", float, 1, 1), i32) #4
+// CHECK: declare i32 @llvm.dx.resource.updatecounter.tdx.RawBuffer_f32_1_0t(target("dx.RawBuffer", float, 1, 0), i8)
+// CHECK: declare i32 @llvm.dx.resource.updatecounter.tdx.RawBuffer_f32_1_1t(target("dx.RawBuffer", float, 1, 1), i8)
+// CHECK: declare ptr @llvm.dx.resource.getpointer.p0.tdx.RawBuffer_f32_1_1t(target("dx.RawBuffer", float, 1, 1), i32)
More information about the cfe-commits
mailing list