[PATCH] D30572: Remove equal BBs from a function

Andrew V. Tischenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 7 05:54:39 PST 2017


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

I implemented requirements raised by Davide and fix an issue with bootstrap: now it works properly. Next steps: I'm going to collect statistic on bootsrap such as: number of removed BBs and instructions inside those BBs, the total size changing, compile time. When it's done I'm going to extend transformation with other kinds of BBs (e.g. parts of EH, -O1 (size) optimizations) and/or terminators.


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.90837.patch
Type: text/x-patch
Size: 16457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170307/61415d63/attachment.bin>


More information about the llvm-commits mailing list