[llvm] bbc7b30 - AMDGPU: Remove invalid testcase for enqueue kernel
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 26 14:25:48 PDT 2023
Author: Matt Arsenault
Date: 2023-04-26T17:25:30-04:00
New Revision: bbc7b30fbf52c0f0b5383b9b9f5ebdb45db98b55
URL: https://github.com/llvm/llvm-project/commit/bbc7b30fbf52c0f0b5383b9b9f5ebdb45db98b55
DIFF: https://github.com/llvm/llvm-project/commit/bbc7b30fbf52c0f0b5383b9b9f5ebdb45db98b55.diff
LOG: AMDGPU: Remove invalid testcase for enqueue kernel
The call didn't have the right calling convention, but calls to
kernels are supposed to be illegal anyway.
Added:
Modified:
llvm/test/CodeGen/AMDGPU/enqueue-kernel.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/AMDGPU/enqueue-kernel.ll b/llvm/test/CodeGen/AMDGPU/enqueue-kernel.ll
index 64a4f72a7c0c..9391b50c04a5 100644
--- a/llvm/test/CodeGen/AMDGPU/enqueue-kernel.ll
+++ b/llvm/test/CodeGen/AMDGPU/enqueue-kernel.ll
@@ -8,11 +8,6 @@ define amdgpu_kernel void @non_caller(ptr addrspace(1) %a, i8 %b, ptr addrspace(
ret void
}
-define amdgpu_kernel void @caller_indirect(ptr addrspace(1) %a, i8 %b, ptr addrspace(1) %c, i64 %d) {
- call void @caller(ptr addrspace(1) %a, i8 %b, ptr addrspace(1) %c, i64 %d)
- ret void
-}
-
define amdgpu_kernel void @caller(ptr addrspace(1) %a, i8 %b, ptr addrspace(1) %c, i64 %d) {
entry:
%block = alloca <{ i32, i32, ptr addrspace(1), i8 }>, align 8, addrspace(5)
@@ -120,12 +115,6 @@ attributes #0 = { "enqueued-block" }
; CHECK-NEXT: ret void
;
;
-; CHECK-LABEL: define {{[^@]+}}@caller_indirect
-; CHECK-SAME: (ptr addrspace(1) [[A:%.*]], i8 [[B:%.*]], ptr addrspace(1) [[C:%.*]], i64 [[D:%.*]]) {
-; CHECK-NEXT: call void @caller(ptr addrspace(1) [[A]], i8 [[B]], ptr addrspace(1) [[C]], i64 [[D]])
-; CHECK-NEXT: ret void
-;
-;
; CHECK-LABEL: define {{[^@]+}}@caller
; CHECK-SAME: (ptr addrspace(1) [[A:%.*]], i8 [[B:%.*]], ptr addrspace(1) [[C:%.*]], i64 [[D:%.*]]) {
; CHECK-NEXT: entry:
More information about the llvm-commits
mailing list