aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2016-11-08 19:40:38 +0000
committerDan Gohman <dan433584@gmail.com>2016-11-08 19:40:38 +0000
commite81021a5cb3ece677b051a3175668e51a124f712 (patch)
tree66e808382fe45b00f02869143ec789b4b031158a /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent53a03a28c4e88816994deaec3a835458b8df35d2 (diff)
downloadllvm-e81021a5cb3ece677b051a3175668e51a124f712.zip
llvm-e81021a5cb3ece677b051a3175668e51a124f712.tar.gz
llvm-e81021a5cb3ece677b051a3175668e51a124f712.tar.bz2
[WebAssembly] Convert stackified IMPLICIT_DEF into constant 0.
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
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions