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

Rong Xu via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 7 15:09:52 PDT 2016


xur updated this revision to Diff 73992.
xur added a comment.
Herald added a subscriber: modocache.

Addressed Mehdi and David review comments. The bigger ones are:
(1) removed the use of the OptimizedForSize passed from passmanagerbuild.
(2) renamed the pass to LibCallsShrinkWrap.


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.73992.patch
Type: text/x-patch
Size: 55346 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161007/862a782e/attachment.bin>


More information about the llvm-commits mailing list