Missing optimization pointed out by David earlier https://godbolt.org/g/PsWrfV
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Transforms/Utils/SimplifyLibCalls.cpp | ||
---|---|---|
1084–1085 | Doesn't hasUsnafeAlgebra make this irrelevant? |
lib/Transforms/Utils/SimplifyLibCalls.cpp | ||
---|---|---|
1089 | Missing fast-math flags on sqrt() call and fdiv instruction. |
lib/Transforms/Utils/SimplifyLibCalls.cpp | ||
---|---|---|
1084–1085 | Does it? I'm not entirely sure of the implications, see e.g. http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160808/380416.html @hfinkel | |
1089 | Fixed, my bad. |
lib/Transforms/Utils/SimplifyLibCalls.cpp | ||
---|---|---|
1084–1085 | Of course... Sorry about that! |
Doesn't hasUsnafeAlgebra make this irrelevant?