[WebAssembly] Run ExplicitLocals pass after CFGStackify
authorHeejin Ahn <aheejin@gmail.com>
Sat, 30 Mar 2019 09:29:57 +0000 (09:29 +0000)
committerHeejin Ahn <aheejin@gmail.com>
Sat, 30 Mar 2019 09:29:57 +0000 (09:29 +0000)
commite9fd9073e4905eab7c0784cee804f0704a7020de
treee25c3374c6697195da62adf7e984f4e512d6c1fe
parent9681b01c214fc6a8d130e2421bfb1ca1568452e5
[WebAssembly] Run ExplicitLocals pass after CFGStackify

Summary:
While this does not change any final output, this will greatly simplify
ixing unwind destination mismatches in CFGStackify (D48345), because we
have to create some new registers there.

Reviewers: dschuff

Subscribers: sunfish, sbc100, jgravelle-google, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D59652

llvm-svn: 357342
llvm/lib/Target/WebAssembly/WebAssembly.h
llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
llvm/test/CodeGen/WebAssembly/cfg-stackify-dbg-skip.ll