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

Rong Xu via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 21 23:02:48 PDT 2016


xur updated this revision to Diff 72139.
xur added a comment.
Herald added a subscriber: mgorny.

Addressed David's review comments. Also changed the coding structure so that
the transformaton in one place.


https://reviews.llvm.org/D24414

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24414.72139.patch
Type: text/x-patch
Size: 60792 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160922/809418f3/attachment.bin>


More information about the llvm-commits mailing list