[PATCH] D25970: DCE math library calls with a constant operand
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 25 14:59:20 PDT 2016
efriedma created this revision.
efriedma added reviewers: scanon, majnemer.
efriedma added subscribers: llvm-commits, davidxl, xur, hfinkel.
efriedma set the repository for this revision to rL LLVM.
On platforms which use -fmath-errno, math libcalls without any uses require some extra checks to figure out if they are actually dead.
Fixes https://llvm.org/bugs/show_bug.cgi?id=30464 .
Repository:
rL LLVM
https://reviews.llvm.org/D25970
Files:
include/llvm/Analysis/ConstantFolding.h
lib/Analysis/ConstantFolding.cpp
lib/Transforms/Utils/Local.cpp
test/Transforms/DCE/calls-errno.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25970.75798.patch
Type: text/x-patch
Size: 9693 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161025/ef96fcc1/attachment.bin>
More information about the llvm-commits
mailing list