From a2a717ac4dda72f5324058184947afa74690c084 Mon Sep 17 00:00:00 2001 From: Finn Plummer Date: Thu, 23 Jan 2025 00:16:39 +0000 Subject: [PATCH] [NFC] Remove `reflect-error.ll` as a failing testcase - This testcase was meant to test that an error message was correctly reported from an invoked `report_fatal_error` - However, there doesn't seem to be any precendant of testing this using FileCheck and furthermore it seems unstable Resolves the buildbots failures of #123853 --- llvm/test/CodeGen/SPIRV/opencl/reflect-error.ll | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 llvm/test/CodeGen/SPIRV/opencl/reflect-error.ll diff --git a/llvm/test/CodeGen/SPIRV/opencl/reflect-error.ll b/llvm/test/CodeGen/SPIRV/opencl/reflect-error.ll deleted file mode 100644 index 3b3edc13131f5..0000000000000 --- a/llvm/test/CodeGen/SPIRV/opencl/reflect-error.ll +++ /dev/null @@ -1,13 +0,0 @@ -; RUN: not llc -verify-machineinstrs -O0 -mtriple=spirv64-unknown-unknown %s -o /dev/null 2>&1 | FileCheck %s -; RUN: not llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown %s -o /dev/null 2>&1 | FileCheck %s - -; CHECK: LLVM ERROR: %{{.*}} = G_INTRINSIC intrinsic(@llvm.spv.reflect), %{{.*}}, %{{.*}} is only supported with the GLSL extended instruction set. - -define noundef <4 x float> @reflect_float4(<4 x float> noundef %a, <4 x float> noundef %b) { -entry: - %spv.reflect = call <4 x float> @llvm.spv.reflect.f32(<4 x float> %a, <4 x float> %b) - ret <4 x float> %spv.reflect -} - -declare <4 x float> @llvm.spv.reflect.f32(<4 x float>, <4 x float>) -