This is an archive of the discontinued LLVM Phabricator instance.

WebAssembly: don't omit dead vregs from locals
ClosedPublic

Authored by jfb on Oct 16 2015, 5:26 PM.

Details

Summary

This is a temporary hack until we get around to remapping the vreg
numbers to local numbers. Dead vregs cause bad numbering and make
consumers sad.

We could also just look at debug info an use named locals instead, but
vregs have to work properly anyways so there!

Diff Detail

Repository
rL LLVM

Event Timeline

jfb updated this revision to Diff 37664.Oct 16 2015, 5:26 PM
jfb retitled this revision from to WebAssembly: don't omit dead vregs from locals.
jfb updated this object.
jfb added reviewers: binji, sunfish.
jfb added a subscriber: llvm-commits.
This revision was automatically updated to reflect the committed changes.