; RUN: not opt -S -verify 2>&1 < %s | FileCheck %s ; CHECK: Intrinsic has incorrect argument type! ; CHECK-NEXT: (*, i32, <4 x i1>, )* @llvm.masked.load.nxv4i32.p0nxv4i32 define @masked_load(* %addr, <4 x i1> %mask, %dst) { %res = call @llvm.masked.load.nxv4i32.p0nxv4i32(* %addr, i32 4, <4 x i1> %mask, %dst) ret %res } declare @llvm.masked.load.nxv4i32.p0nxv4i32(*, i32, <4 x i1>, )