mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 15:32:52 +01:00
c39609dc9f
llvm-svn: 21017
11 lines
280 B
LLVM
11 lines
280 B
LLVM
; Make sure this testcase codegens to the fabs instruction, not a call to fabsf
|
|
; RUN: llvm-as < %s | llc -march=x86 -disable-pattern-isel=0 | grep 'fabs$'
|
|
|
|
declare float %fabsf(float)
|
|
|
|
float %fabsftest(float %X) {
|
|
%Y = call float %fabsf(float %X)
|
|
ret float %Y
|
|
}
|
|
|