[PATCH] D24414: Conditionally eliminate library calls where the result value is not used

Rong Xu via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 17 11:34:49 PDT 2016


xur updated this revision to Diff 74876.
xur added a comment.

Add a TODO comment for long double suggested by David.

To david: I'll send another patch for mathlib functions that not properly annotated.


https://reviews.llvm.org/D24414

Files:
  include/llvm/InitializePasses.h
  include/llvm/LinkAllPasses.h
  include/llvm/Transforms/Scalar.h
  include/llvm/Transforms/Utils/LibCallsShrinkWrap.h
  lib/Passes/PassBuilder.cpp
  lib/Passes/PassRegistry.def
  lib/Transforms/IPO/PassManagerBuilder.cpp
  lib/Transforms/Utils/CMakeLists.txt
  lib/Transforms/Utils/LibCallsShrinkWrap.cpp
  lib/Transforms/Utils/Utils.cpp
  test/Transforms/Util/libcalls-shrinkwrap-double.ll
  test/Transforms/Util/libcalls-shrinkwrap-float.ll
  test/Transforms/Util/libcalls-shrinkwrap-long-double.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24414.74876.patch
Type: text/x-patch
Size: 55846 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161017/48d067b0/attachment.bin>


More information about the llvm-commits mailing list