[PATCH] D11691: [WebAssembly] Add Relooper

Matt Arsenault Matthew.Arsenault at amd.com
Fri Jul 31 18:22:43 PDT 2015


arsenm added a comment.

Will this be eventually structuring the IR or on MachineBasicBlocks?


================
Comment at: lib/Target/WebAssembly/Relooper.cpp:525
@@ +524,3 @@
+          Block *Curr = *(Entries->begin());
+          if (Curr->BranchesIn.size() == 0) {
+            // One entry, no looping ==> Simple
----------------
.empti() would be preferrable


Repository:
  rL LLVM

http://reviews.llvm.org/D11691







More information about the llvm-commits mailing list