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