mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-07 20:40:28 +00:00
597f22f6cd
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21016 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
269 B
LLVM
11 lines
269 B
LLVM
; Make sure this testcase codegens to the fabs instruction, not a call to fabsf
|
|
; RUN: llvm-as < %s | llc -disable-pattern-isel=0 | grep 'fabs$'
|
|
|
|
declare float %fabsf(float)
|
|
|
|
float %fabsftest(float %X) {
|
|
%Y = call float %fabsf(float %X)
|
|
ret float %Y
|
|
}
|
|
|