Skip to content

Commit 1644632

Browse files
committed
Modified the NoSignedUnsignedWrap.ll test
1 parent d88f2cd commit 1644632

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

llvm/test/CodeGen/SPIRV/llvm-intrinsics/memset.ll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ define spir_func void @_Z5foo11v(%struct.S1 addrspace(4)* noalias nocapture sret
8282
}
8383

8484
declare void @llvm.memset.p4i8.i32(i8 addrspace(4)* nocapture, i8, i32, i1)
85+
8586
declare void @llvm.memset.p0i8.i32(i8* nocapture, i8, i32, i1)
87+
8688
declare void @llvm.memset.p3i8.i32(i8 addrspace(3)*, i8, i32, i1)
89+
8790
declare void @llvm.memset.p1i8.i64(i8 addrspace(1)*, i8, i64, i1)

llvm/test/CodeGen/SPIRV/transcoding/NoSignedUnsignedWrap.ll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@
77
;;
88
;; Positive tests:
99
;;
10-
; RUN: llc -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_KHR_no_integer_wrap_decoration %s -o - | FileCheck %s --check-prefixes=CHECK-SPIRV,CHECK-SPIRV-NEGATIVE
10+
; RUN: llc -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_KHR_no_integer_wrap_decoration %s -o - | FileCheck %s --check-prefixes=CHECK-SPIRV
1111
;;
1212
;; Negative tests:
1313
;;
14+
; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefixes=CHECK-SPIRV-NEGATIVE
1415
;; Check that backend is able to skip nsw/nuw attributes if extension is
1516
;; disabled implicitly or explicitly and if max SPIR-V version is lower then 1.4
1617

0 commit comments

Comments
 (0)