Skip to content

Commit cfb84d9

Browse files
hvdijkcoldav
authored andcommitted
[NFC] Remove some old LLVM support from tests.
Our minimum supported LLVM version at the moment is LLVM 19, but we still had some tests that handled LLVM 15 and LLVM 16. This PR removes that handling.
1 parent 7079d43 commit cfb84d9

File tree

1 file changed

+2
-5
lines changed
  • llvm/lib/SYCLNativeCPUUtils/compiler_passes/vecz/test/lit/llvm

1 file changed

+2
-5
lines changed

llvm/lib/SYCLNativeCPUUtils/compiler_passes/vecz/test/lit/llvm/undef_ub.ll

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
;
1515
; SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
1616

17-
; RUN: %pp-llvm-ver -o %t < %s --llvm-ver %LLVMVER
18-
; RUN: veczc -k test -w 4 -S < %s | FileCheck %t
17+
; RUN: veczc -k test -w 4 -S < %s | FileCheck %s
1918

2019
; ModuleID = 'Unknown buffer'
2120
source_filename = "Unknown buffer"
@@ -41,6 +40,4 @@ entry:
4140
; The "undefs" in the above IR should "optimize" to a trap call and an unreachable
4241
; terminator instruction.
4342
; CHECK: define spir_kernel void @__vecz_v4_test
44-
; Before LLVM 17 there's no such trap: the UB is just that the function returns early.
45-
; CHECK-LT17: ret void
46-
; CHECK-GE17: unreachable
43+
; CHECK: unreachable

0 commit comments

Comments
 (0)