This is an archive of the discontinued LLVM Phabricator instance.

WebAssembly: relooper analysis pass
ClosedPublic

Authored by jfb on Sep 9 2015, 5:30 PM.

Details

Summary

Make the relooper an analysis pass, to convert CFG to AST.

Diff Detail

Repository
rL LLVM

Event Timeline

jfb updated this revision to Diff 34394.Sep 9 2015, 5:30 PM
jfb retitled this revision from to WebAssembly: relooper analysis pass.
jfb updated this object.
jfb added a reviewer: sunfish.
jfb added a comment.Sep 9 2015, 5:31 PM

This isn't meant for review as it's currently broken. @sunfish is working on a separate approach in D12735, which we may decide to go with instead.

sunfish added a subscriber: sunfish.
jfb updated this revision to Diff 34860.Sep 15 2015, 5:56 PM
  • Unhook.
jfb added a comment.Sep 16 2015, 3:15 PM

@sunfish and I discussed moving the relooper and his stackifier forward (D12735). We'll first use the stackifier, and may fill in with the relooper where it makes sense, or at least perform Science and compare their results. This patch moves us ever-so-slightly in that direction, so I'll commit as is, and we'll come back to the relooper when needed (we're trying to get basics up and running first!).

This revision was automatically updated to reflect the committed changes.
jfb added a comment.Oct 16 2015, 9:38 AM

I just realized that I hadn't committed this. We may not go forward with the relooper, but we do want to compare our options so I'd rather at least get this small patch in.