mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
91bb437eb8
As discussed on PR27654, this patch fixes the triples of a lot of aarch64 tests and enables lit tests on windows This will hopefully help stop cases where windows developers break the aarch64 target Differential Revision: https://reviews.llvm.org/D22191 llvm-svn: 275973
13 lines
378 B
LLVM
13 lines
378 B
LLVM
; RUN: llc < %s -mtriple=arm64-eabi -aarch64-neon-syntax=apple | FileCheck %s
|
|
|
|
define i32 @foo(<4 x i16>* %__a) nounwind {
|
|
; CHECK-LABEL: foo:
|
|
; CHECK: umov.h w{{[0-9]+}}, v{{[0-9]+}}[0]
|
|
%tmp18 = load <4 x i16>, <4 x i16>* %__a, align 8
|
|
%vget_lane = extractelement <4 x i16> %tmp18, i32 0
|
|
%conv = zext i16 %vget_lane to i32
|
|
%mul = mul nsw i32 3, %conv
|
|
ret i32 %mul
|
|
}
|
|
|