summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/WebAssembly/implicit-def.ll
Commit message (Collapse)AuthorAgeFilesLines
* [WebAssembly] Convert stackified IMPLICIT_DEF into constant 0.Dan Gohman2016-11-081-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
OpenPOWER on IntegriCloud