1 ; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
3 declare <4 x i32> @llvm.get.active.lane.mask.v4i32.i32(i32, i32)
5 define <4 x i32> @t1(i32 %IV, i32 %TC) {
6 ; CHECK: get_active_lane_mask: element type is not i1
7 ; CHECK-NEXT: %res = call <4 x i32> @llvm.get.active.lane.mask.v4i32.i32(i32 %IV, i32 %TC)
9 %res = call <4 x i32> @llvm.get.active.lane.mask.v4i32.i32(i32 %IV, i32 %TC)
13 declare i32 @llvm.get.active.lane.mask.i32.i32(i32, i32)
15 define i32 @t2(i32 %IV, i32 %TC) {
16 ; CHECK: Intrinsic has incorrect return type!
17 ; CHECK-NEXT: ptr @llvm.get.active.lane.mask.i32.i32
19 %res = call i32 @llvm.get.active.lane.mask.i32.i32(i32 %IV, i32 %TC)