mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-31 12:30:06 +00:00
This commit starts with a "git mv ARM64 AArch64" and continues out from there, renaming the C++ classes, intrinsics, and other target-local objects for consistency. "ARM64" test directories are also moved, and tests that began their life in ARM64 use an arm64 triple, those from AArch64 use an aarch64 triple. Both should be equivalent though. This finishes the AArch64 merge, and everyone should feel free to continue committing as normal now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209577 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
762 B
LLVM
19 lines
762 B
LLVM
; RUN: opt -S -slp-vectorizer %s | FileCheck %s
|
|
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
|
|
target triple = "arm64-apple-ios5.0.0"
|
|
|
|
define i64 @mismatched_intrinsics(<4 x i32> %in1, <2 x i32> %in2) nounwind {
|
|
; CHECK-LABEL: @mismatched_intrinsics
|
|
; CHECK: call i64 @llvm.arm64.neon.saddlv.i64.v4i32
|
|
; CHECK: call i64 @llvm.arm64.neon.saddlv.i64.v2i32
|
|
|
|
%vaddlvq_s32.i = tail call i64 @llvm.arm64.neon.saddlv.i64.v4i32(<4 x i32> %in1) #2
|
|
%vaddlv_s32.i = tail call i64 @llvm.arm64.neon.saddlv.i64.v2i32(<2 x i32> %in2) #2
|
|
%tst = icmp sgt i64 %vaddlvq_s32.i, %vaddlv_s32.i
|
|
%equal = sext i1 %tst to i64
|
|
ret i64 %equal
|
|
}
|
|
|
|
declare i64 @llvm.arm64.neon.saddlv.i64.v4i32(<4 x i32> %in1)
|
|
declare i64 @llvm.arm64.neon.saddlv.i64.v2i32(<2 x i32> %in1)
|