17 lines · plain
1; RUN: llc -mtriple=aarch64-gnu-linux -debug-only=isel -o /dev/null < %s 2>&1 | FileCheck %s2 3; REQUIRES: asserts4 5define { float, float } @test_sincos_f32_afn(float %a) {6; CHECK-LABEL: Initial selection DAG: %bb.0 'test_sincos_f32_afn:'7; CHECK-NEXT: SelectionDAG has 9 nodes:8; CHECK-NEXT: t0: ch,glue = EntryToken9; CHECK-NEXT: t2: f32,ch = CopyFromReg t0, Register:f32 %010; CHECK-NEXT: t3: f32,f32 = fsincos afn t211; CHECK-NEXT: t5: ch,glue = CopyToReg t0, Register:f32 $s0, t312; CHECK-NEXT: t7: ch,glue = CopyToReg t5, Register:f32 $s1, t3:1, t5:113; CHECK-NEXT: t8: ch = AArch64ISD::RET_GLUE t7, Register:f32 $s0, Register:f32 $s1, t7:114 %result = call afn { float, float } @llvm.sincos.f32(float %a)15 ret { float, float } %result16}17