Skip to content

Commit

Permalink
Merge pull request #594 from hvdijk/llvm20-lit-tests
Browse files Browse the repository at this point in the history
[LLVM 20] Update tests.
  • Loading branch information
hvdijk authored Nov 20, 2024
2 parents eb34bd1 + 68319b3 commit 9c2aa3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ declare extern_weak spir_func i32 @printf(i8 addrspace(2)*, ...)

; CHECK: [[LOOPHEADER1:instloop.header.*]]:
; CHECK: %[[INSTANCE1:instance.*]] = phi i32 [ 0, {{.+}} ], [ %[[V7:[0-9]+]], %[[LOOPBODY1:instloop.body.*]] ]
; CHECK: %[[V3:[0-9]+]] = icmp ult i32 %[[INSTANCE1]], 4
; CHECK: %[[V3:[0-9]+]] = icmp {{(samesign )?}}ult i32 %[[INSTANCE1]], 4
; CHECK: br i1 %[[V3]], label %[[LOOPBODY1]], label {{.+}}

; CHECK: [[LOOPBODY1]]:
Expand All @@ -51,7 +51,7 @@ declare extern_weak spir_func i32 @printf(i8 addrspace(2)*, ...)

; CHECK: [[LOOPHEADER2:instloop.header.*]]:
; CHECK: %[[INSTANCE3:.+]] = phi i32 [ %[[V11:[0-9]+]], %[[LOOPBODY2:instloop.body.*]] ], [ 0, {{.+}} ]
; CHECK: %[[V8:[0-9]+]] = icmp ult i32 %[[INSTANCE3]], 4
; CHECK: %[[V8:[0-9]+]] = icmp {{(samesign )?}}ult i32 %[[INSTANCE3]], 4
; CHECK: br i1 %[[V8]], label %[[LOOPBODY2]], label {{.+}}

; CHECK: [[LOOPBODY2]]:
Expand Down
2 changes: 1 addition & 1 deletion modules/compiler/vecz/test/lit/llvm/struct_select.ll
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "spir64-unknown-unknown"

%struct_type = type { i32, i32 }
%struct_type = type { i32, i64 }

define spir_kernel void @test(%struct_type* %in1, %struct_type* %in2, %struct_type* %out) {
entry:
Expand Down

0 comments on commit 9c2aa3d

Please sign in to comment.