1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt -S -passes=partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s
4 define double @foo(double %x) {
6 ; CHECK-NEXT: [[R:%.*]] = musttail call double @sqrt(double [[X:%.*]])
7 ; CHECK-NEXT: ret double [[R]]
9 %r = musttail call double @sqrt(double %x)
13 declare double @sqrt(double)