brintos

brintos / llvm-project-archived public Read only

0
0
Text · 433 B · 65dd616 Raw
14 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py2; RUN: opt -S -passes=partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s3 4define double @foo(double %x) {5; CHECK-LABEL: @foo(6; CHECK-NEXT:    [[R:%.*]] = musttail call double @sqrt(double [[X:%.*]])7; CHECK-NEXT:    ret double [[R]]8;9  %r = musttail call double @sqrt(double %x)10  ret double %r11}12 13declare double @sqrt(double)14