mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 23:23:38 -04:00
598198edbc
The reversion apparently deleted the test/Transforms directory. Will be re-reverting again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358552 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
404 B
LLVM
13 lines
404 B
LLVM
; RUN: opt -S -partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s
|
|
; RUN: opt -S -passes=partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s
|
|
|
|
define float @f(float %val) {
|
|
; CHECK-LABEL: @f
|
|
; CHECK: call{{.*}}@sqrtf
|
|
; CHECK-NOT: call{{.*}}@sqrtf
|
|
%res = tail call float @sqrtf(float %val) nobuiltin
|
|
ret float %res
|
|
}
|
|
|
|
declare float @sqrtf(float)
|