HomePhabricator

Lower __builtin_fabs* to @llvm.fabs.*

Description

Lower __builtin_fabs* to @llvm.fabs.*

mingw64's headers implement fabs by calling __builtin_fabs, so using the
library call results in an infinite loop. If the backend legalizes
@llvm.fabs as a call to fabs later, things should work out, as the crt
provides a definition.

Details

Committed
rnkNov 3 2014, 3:52 PM
Parents
rL221205: Remove dead AST type argument to EmitFAbs
Branches
Unknown
Tags
Unknown

Event Timeline