[llvm] a9c875b - [NFC] [DirectX] Cleanup test for comput_ids.
Xiang Li via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 7 14:04:45 PDT 2022
Author: Xiang Li
Date: 2022-07-07T14:02:32-07:00
New Revision: a9c875b19a106540e682ed789ca7b9ee681dbcdd
URL: https://github.com/llvm/llvm-project/commit/a9c875b19a106540e682ed789ca7b9ee681dbcdd
DIFF: https://github.com/llvm/llvm-project/commit/a9c875b19a106540e682ed789ca7b9ee681dbcdd.diff
LOG: [NFC] [DirectX] Cleanup test for comput_ids.
Cleanup test for review in https://reviews.llvm.org/D127990
Added:
Modified:
llvm/test/CodeGen/DirectX/comput_ids.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/DirectX/comput_ids.ll b/llvm/test/CodeGen/DirectX/comput_ids.ll
index 87f279564fc72..553994094d71e 100644
--- a/llvm/test/CodeGen/DirectX/comput_ids.ll
+++ b/llvm/test/CodeGen/DirectX/comput_ids.ll
@@ -5,7 +5,7 @@
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.7-library"
-; CHECK-LABEL:test_thread_id
+; CHECK-LABEL: @test_thread_id(
; Function Attrs: noinline nounwind optnone
define i32 @test_thread_id(i32 %a) #0 {
entry:
@@ -14,29 +14,29 @@ entry:
ret i32 %0
}
-; CHECK-LABEL:test_group_id
+; CHECK-LABEL: @test_group_id(
; Function Attrs: noinline nounwind optnone
define i32 @test_group_id(i32 %a) #0 {
entry:
-; CHECK:call i32 @dx.op.groupId.i32(i32 94, i32 %{{.*}})
+; CHECK: call i32 @dx.op.groupId.i32(i32 94, i32 %{{.*}})
%0 = call i32 @llvm.dx.group.id(i32 %a)
ret i32 %0
}
-; CHECK-LABEL:test_thread_id_in_group
+; CHECK-LABEL: @test_thread_id_in_group(
; Function Attrs: noinline nounwind optnone
define i32 @test_thread_id_in_group(i32 %a) #0 {
entry:
-; CHECK:call i32 @dx.op.threadIdInGroup.i32(i32 95, i32 %{{.*}})
+; CHECK: call i32 @dx.op.threadIdInGroup.i32(i32 95, i32 %{{.*}})
%0 = call i32 @llvm.dx.thread.id.in.group(i32 %a)
ret i32 %0
}
-; CHECK-LABEL:test_flattened_thread_id_in_group
+; CHECK-LABEL: @test_flattened_thread_id_in_group(
; Function Attrs: noinline nounwind optnone
define i32 @test_flattened_thread_id_in_group() #0 {
entry:
-; CHECK:call i32 @dx.op.flattenedThreadIdInGroup.i32(i32 96)
+; CHECK: call i32 @dx.op.flattenedThreadIdInGroup.i32(i32 96)
%0 = call i32 @llvm.dx.flattened.thread.id.in.group()
ret i32 %0
}
More information about the llvm-commits
mailing list