[all-commits] [llvm/llvm-project] a7a375: [WebAssembly] Fixed FrameBaseLocal not being set.

Wouter van Oortmerssen via All-commits all-commits at lists.llvm.org
Mon Mar 9 17:29:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a7a37517751ffb0f5529011b4ba96e67fcb27510
      https://github.com/llvm/llvm-project/commit/a7a37517751ffb0f5529011b4ba96e67fcb27510
  Author: Wouter van Oortmerssen <aardappel at gmail.com>
  Date:   2020-03-09 (Mon, 09 Mar 2020)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp

  Log Message:
  -----------
  [WebAssembly] Fixed FrameBaseLocal not being set.

Summary:
Fixes: https://bugs.llvm.org/show_bug.cgi?id=44920

WebAssemblyRegColoring may merge the vreg that currently represents
the FrameBase with one representing an argument.
WebAssemblyExplicitLocals picks up the corresponding local when
a vreg is first added to the Reg2Local mapping, except when it is
an argument instruction which are handled separately.

Note that this does not change that vregs representing the FrameBase
may get merged, it is not clear to me that this may have other
effects we may want to avoid?

Reviewers: dschuff

Reviewed By: dschuff

Subscribers: azakai, sbc100, hiraditya, aheejin, sunfish, llvm-commits, jgravelle-google

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75718




More information about the All-commits mailing list