This (also) fixes a longstanding TODO.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D14466
[SimplifyLibCalls] pow(x, 0.5) -> sqrt(x) in fast-math mode ClosedPublic Authored by davide on Nov 6 2015, 2:23 PM.
Details Summary This (also) fixes a longstanding TODO.
Diff Detail
Event Timelinedavide updated this object. Closed by commit rL253521: [SimplifyLibCalls] New trick: pow(x, 0.5) -> sqrt(x) under -ffast-math. (authored by davide). · Explain WhyNov 18 2015, 3:24 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 40572 llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp
llvm/trunk/test/Transforms/InstCombine/pow-sqrt.ll
|