[llvm] e75f37f - [SPIR-V][NFC] Require asserts on 2 tests (#75087)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 14 12:17:14 PST 2023
Author: Natalie Chouinard
Date: 2023-12-14T15:17:11-05:00
New Revision: e75f37fd64a467cd8b24851062342079bef123f5
URL: https://github.com/llvm/llvm-project/commit/e75f37fd64a467cd8b24851062342079bef123f5
DIFF: https://github.com/llvm/llvm-project/commit/e75f37fd64a467cd8b24851062342079bef123f5.diff
LOG: [SPIR-V][NFC] Require asserts on 2 tests (#75087)
These tests currently fail on asserts, so adding a REQUIRES to make sure
they're skipped on builds with asserts disabled.
Follow-up from #74849
Added:
Modified:
llvm/test/CodeGen/SPIRV/opencl/device_execution/execute_block.ll
llvm/test/CodeGen/SPIRV/transcoding/BuildNDRange_2.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/SPIRV/opencl/device_execution/execute_block.ll b/llvm/test/CodeGen/SPIRV/opencl/device_execution/execute_block.ll
index b001ce09f5679c..1df72dc734dbd9 100644
--- a/llvm/test/CodeGen/SPIRV/opencl/device_execution/execute_block.ll
+++ b/llvm/test/CodeGen/SPIRV/opencl/device_execution/execute_block.ll
@@ -2,6 +2,7 @@
; TODO(#60133): Requires updates following opaque pointer migration.
; XFAIL: *
+; REQUIRES: asserts
; CHECK: %[[#bool:]] = OpTypeBool
; CHECK: %[[#true:]] = OpConstantTrue %[[#bool]]
diff --git a/llvm/test/CodeGen/SPIRV/transcoding/BuildNDRange_2.ll b/llvm/test/CodeGen/SPIRV/transcoding/BuildNDRange_2.ll
index 75aa87f958d47b..a2ae808259a32a 100644
--- a/llvm/test/CodeGen/SPIRV/transcoding/BuildNDRange_2.ll
+++ b/llvm/test/CodeGen/SPIRV/transcoding/BuildNDRange_2.ll
@@ -22,6 +22,7 @@
; TODO(#60133): Requires updates following opaque pointer migration.
; XFAIL: *
+; REQUIRES: asserts
; CHECK-SPIRV-DAG: %[[#LEN2_ID:]] = OpConstant %[[#]] 2
; CHECK-SPIRV-DAG: %[[#LEN3_ID:]] = OpConstant %[[#]] 3
More information about the llvm-commits
mailing list