brintos

brintos / llvm-project-archived public Read only

0
0
Text · 788 B · 4e78996 Raw
19 lines · plain
1; RUN: llvm-dis %p/aarch64-addp-upgrade.bc -o - | FileCheck %s2 3; Bitcode was generated from file below, which may or may not even assemble any4; more.5 6; CHECK: call <2 x float> @llvm.aarch64.neon.faddp.v2f32(<2 x float> %lhs, <2 x float> %rhs)7define <2 x float> @test_addp(<2 x float> %lhs, <2 x float> %rhs) {8  %res = call <2 x float> @llvm.aarch64.neon.addp.v2f32(<2 x float> %lhs, <2 x float> %rhs)9  ret <2 x float> %res10}11 12; CHECK: call <2 x float> @llvm.aarch64.neon.faddp.v2f32(<2 x float> %lhs, <2 x float> %rhs)13define <2 x float> @test_addp1(<2 x float> %lhs, <2 x float> %rhs) {14  %res = call <2 x float> @llvm.aarch64.neon.addp.v2f32(<2 x float> %lhs, <2 x float> %rhs)15  ret <2 x float> %res16}17 18declare <2 x float> @llvm.aarch64.neon.addp.v2f32(<2 x float>, <2 x float>)19