llvm-for-llvmta/test/CodeGen/AArch64/autoupgrade-aarch64-neon-ad...

10 lines
383 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; RUN: opt -S < %s -mtriple=arm64 | FileCheck %s
declare <4 x float> @llvm.aarch64.neon.addp.v4f32(<4 x float>, <4 x float>)
; CHECK: call <4 x float> @llvm.aarch64.neon.faddp.v4f32
define <4 x float> @upgrade_aarch64_neon_addp_float(<4 x float> %a, <4 x float> %b) {
%res = call <4 x float> @llvm.aarch64.neon.addp.v4f32(<4 x float> %a, <4 x float> %b)
ret <4 x float> %res
}