diff options
author | Derek Schuff <dschuff@chromium.org> | 2020-03-25 10:35:12 -0700 |
---|---|---|
committer | Derek Schuff <dschuff@chromium.org> | 2020-03-26 13:07:32 -0700 |
commit | e110897e28c31f0241590a04e19814b5faeb5663 (patch) | |
tree | 9b8884b205810a6418de3369ecbf32ae49b88b68 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | 39a52a19ed0206e0ebd1530f881f79a1511a2299 (diff) | |
download | llvm-e110897e28c31f0241590a04e19814b5faeb5663.zip llvm-e110897e28c31f0241590a04e19814b5faeb5663.tar.gz llvm-e110897e28c31f0241590a04e19814b5faeb5663.tar.bz2 |
[WEbAssembly] Clear frame base vreg in explicit-locals when stack pointer is dead
Having an alloca in a function causes the stack pointer to be generated in the
prolog, but if it's unused other than for debug info, explicit-locals will drop
it and not allocate a local. In this case we need to reset the FrameBaseVreg.
Differential Revision: https://reviews.llvm.org/D76784
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions