[PATCH] D59462: [WebAssembly] Optimize the number of routing blocks in FixIrreducibleCFG

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 21 08:37:28 PDT 2019


aheejin updated this revision to Diff 191708.
aheejin added a comment.

Layout predecessor optimization. Now if there's a layout predecessor to the entry, we generate the routing block right after the layout predecessor. So now there's no case we need to analyze branch and generate extra `br`s.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59462/new/

https://reviews.llvm.org/D59462

Files:
  lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
  test/CodeGen/WebAssembly/irreducible-cfg.ll
  test/CodeGen/WebAssembly/irreducible-cfg.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59462.191708.patch
Type: text/x-patch
Size: 9109 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190321/66b89751/attachment.bin>


More information about the llvm-commits mailing list