[PATCH] D30572: Remove equal BBs from a function

Andrew V. Tischenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 13 07:57:18 PDT 2017


avt77 updated this revision to Diff 91561.
avt77 added a comment.

Now I found and fixed issues raised during bootstrap. The bootstrap works perfectly now. And I got some numbers: on such huge files like clang, llc, etc. we have about 0.1% size of file decreasing. At the moment I'm using the most possible conservative approach but collected numbers show that we can get better results: it's for sure.

Davide, I'm doing this transformation at this point of pipeline because I'd like to do it after all other layout related transformations. Is it the answer on your question? And the same answer about middle level: I'd like to do this transformation when all others are done but there are still something what can be optimized. Maybe I'm wrong?


https://reviews.llvm.org/D30572

Files:
  include/llvm/CodeGen/Passes.h
  include/llvm/InitializePasses.h
  lib/CodeGen/CMakeLists.txt
  lib/CodeGen/CodeGen.cpp
  lib/CodeGen/RemoveEqualBB.cpp
  lib/CodeGen/TargetPassConfig.cpp
  test/CodeGen/X86/loop-search.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30572.91561.patch
Type: text/x-patch
Size: 17405 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170313/89bd91ae/attachment.bin>


More information about the llvm-commits mailing list