[all-commits] [llvm/llvm-project] e11089: [WEbAssembly] Clear frame base vreg in explicit-lo...
Derek Schuff via All-commits
all-commits at lists.llvm.org
Thu Mar 26 13:08:37 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e110897e28c31f0241590a04e19814b5faeb5663
https://github.com/llvm/llvm-project/commit/e110897e28c31f0241590a04e19814b5faeb5663
Author: Derek Schuff <dschuff at chromium.org>
Date: 2020-03-26 (Thu, 26 Mar 2020)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list