https://llvm.org/bugs/show_bug.cgi?id=30464
Bug ID: 30464 Summary: LLVM fails to DCE constant-folded calls to math functions Product: libraries Version: trunk Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P Component: Scalar Optimizations Assignee: unassignedb...@nondot.org Reporter: efrie...@codeaurora.org CC: david.majne...@gmail.com, llvm-bugs@lists.llvm.org Classification: Unclassified Testcase: #include <math.h> void f() { exp(1.0); } On x86-64 Linux, clang -O2 doesn't eliminate the call to exp(). (LLVM can prove it's dead even with -fmath-errno because the result doesn't overflow.) I think this is a regression from r276389. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs