Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [WebAssembly] Convert stackified IMPLICIT_DEF into constant 0. | Dan Gohman | 2016-11-08 | 1 | -0/+50 |
Since IMPLIFIT_DEF instructions are omitted in the output, when the output of an IMPLICIT_DEF instruction is stackified, the resulting register lacks an explicit push, leading to a push/pop mismatch. Fix this by converting such IMPLICIT_DEFs into CONST_I32 0 instructions so that they have explicit pushes. llvm-svn: 286274 |