blob: 216cf8f37a49d7ec1dfbcadb32c9e7f3ecd7d9d9 [file] [log] [blame]
Chris Lattner597f22f2005-04-02 05:35:00 +00001; Make sure this testcase codegens to the fabs instruction, not a call to fabsf
Chris Lattnere2171072005-04-02 05:40:03 +00002; RUN: llvm-as < %s | llc -march=x86 -disable-pattern-isel=0 | grep 'fabs$'
Chris Lattner597f22f2005-04-02 05:35:00 +00003
4declare float %fabsf(float)
5
6float %fabsftest(float %X) {
7 %Y = call float %fabsf(float %X)
8 ret float %Y
9}
10