llvm.org GIT mirror llvm / release_90 test / CodeGen / AArch64 / autoupgrade-aarch64-neon-addp-float.ll
release_90

Tree @release_90 (Download .tar.gz)

autoupgrade-aarch64-neon-addp-float.ll @release_90raw · history · blame

1
2
3
4
5
6
7
8
; 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
}