blob: 4eca71621452e36663a5b22b5c853166f0a2cb27 [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
2; RUN: llvm-as < %s | llc -disable-pattern-isel=0 | grep 'fabs$'
3
4declare float %fabsf(float)
5
6float %fabsftest(float %X) {
7 %Y = call float %fabsf(float %X)
8 ret float %Y
9}
10