17 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 52; RUN: llc < %s -mtriple=arm64-eabi -aarch64-neon-syntax=apple | FileCheck %s3 4define i32 @foo(ptr %__a) nounwind {5; CHECK-LABEL: foo:6; CHECK: // %bb.0:7; CHECK-NEXT: ldrh w8, [x0]8; CHECK-NEXT: add w0, w8, w8, lsl #19; CHECK-NEXT: ret10 %tmp18 = load <4 x i16>, ptr %__a, align 811 %vget_lane = extractelement <4 x i16> %tmp18, i32 012 %conv = zext i16 %vget_lane to i3213 %mul = mul nsw i32 3, %conv14 ret i32 %mul15}16 17