brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 2bf8f29 Raw
29 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 52; RUN: llc -mtriple=arm-none-eabihf -mcpu=cortex-a55 < %s | FileCheck %s3 4; Test that the override of shouldRewriteCopySrc does something5 6define float @shouldRewriteCopySrc(double %arg) #0 {7; CHECK-LABEL: shouldRewriteCopySrc:8; CHECK:       @ %bb.0: @ %bb9; CHECK-NEXT:    .vsave {d8, d9, d10, d11, d12, d13, d14, d15}10; CHECK-NEXT:    vpush {d8, d9, d10, d11, d12, d13, d14, d15}11; CHECK-NEXT:    vadd.f64 d16, d0, d012; CHECK-NEXT:    @APP13; CHECK-NEXT:    nop14; CHECK-NEXT:    @NO_APP15; CHECK-NEXT:    vmov.f64 d0, d1616; CHECK-NEXT:    @ kill: def $s0 killed $s0 killed $d017; CHECK-NEXT:    vpop {d8, d9, d10, d11, d12, d13, d14, d15}18; CHECK-NEXT:    bx lr19bb:20  %i = fadd double %arg, %arg21  tail call void asm sideeffect "nop", "~{q0},~{q1},~{q2},~{q3},~{q4},~{q5},~{q6},~{q7}"() #022  %i1 = bitcast double %i to i6423  %i2 = trunc i64 %i1 to i3224  %i3 = bitcast i32 %i2 to float25  ret float %i326}27 28attributes #0 = { nounwind }29