1; RUN: opt -S -slp-vectorizer %s | FileCheck %s 2target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128" 3target triple = "arm64-apple-ios5.0.0" 4 5define i64 @mismatched_intrinsics(<4 x i32> %in1, <2 x i32> %in2) nounwind { 6; CHECK-LABEL: @mismatched_intrinsics 7; CHECK: call i64 @llvm.arm64.neon.saddlv.i64.v4i32 8; CHECK: call i64 @llvm.arm64.neon.saddlv.i64.v2i32 9 10 %vaddlvq_s32.i = tail call i64 @llvm.arm64.neon.saddlv.i64.v4i32(<4 x i32> %in1) #2 11 %vaddlv_s32.i = tail call i64 @llvm.arm64.neon.saddlv.i64.v2i32(<2 x i32> %in2) #2 12 %tst = icmp sgt i64 %vaddlvq_s32.i, %vaddlv_s32.i 13 %equal = sext i1 %tst to i64 14 ret i64 %equal 15} 16 17declare i64 @llvm.arm64.neon.saddlv.i64.v4i32(<4 x i32> %in1) 18declare i64 @llvm.arm64.neon.saddlv.i64.v2i32(<2 x i32> %in1) 19