[PATCH] D20146: [PM] Port DSE to the new pass manager.

Jake VanAdrighem via llvm-commits llvm-commits at lists.llvm.org
Mon May 16 14:25:59 PDT 2016


JakeVanAdrighem updated this revision to Diff 57399.
JakeVanAdrighem marked an inline comment as done.
JakeVanAdrighem added a comment.

Rename runOnBasicBlock to eliminateDeadStores. Add an overload that takes a Function instead of BasicBlock. Made all the helpers static. Cleaned up function description comments. clang-format.

I considered discarding this patch and splitting it out but at this point I'd rather leave it as a slight refactor + port to the new PM.


Repository:
  rL LLVM

http://reviews.llvm.org/D20146

Files:
  include/llvm/InitializePasses.h
  include/llvm/Transforms/Scalar/DeadStoreElimination.h
  lib/Passes/PassBuilder.cpp
  lib/Passes/PassRegistry.def
  lib/Transforms/Scalar/DeadStoreElimination.cpp
  lib/Transforms/Scalar/Scalar.cpp
  test/Transforms/DeadStoreElimination/simple.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20146.57399.patch
Type: text/x-patch
Size: 35363 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160516/d695d6b6/attachment.bin>


More information about the llvm-commits mailing list