[all-commits] [llvm/llvm-project] 528618: [WebAssembly] Fix RegStackify and ExplicitLocals t...

Thomas Lively via All-commits all-commits at lists.llvm.org
Tue Feb 18 14:56:14 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 52861809994c9199ceb45b98d982ab736a376e67
      https://github.com/llvm/llvm-project/commit/52861809994c9199ceb45b98d982ab736a376e67
  Author: Thomas Lively <tlively at google.com>
  Date:   2020-02-18 (Tue, 18 Feb 2020)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
    A llvm/test/CodeGen/WebAssembly/multivalue-stackify.ll
    A llvm/test/CodeGen/WebAssembly/multivalue-stackify.py
    M llvm/test/CodeGen/WebAssembly/multivalue.ll

  Log Message:
  -----------
  [WebAssembly] Fix RegStackify and ExplicitLocals to handle multivalue

Summary:
There is still room for improvement in the handling of multivalue
nodes in both passes, but the current algorithm is at least correct
and optimizes some simpler cases. In order to make future
optimizations of these passes easier and build confidence that the
current algorithms are correct, this CL also adds a script that
automatically and exhaustively generates interesting multivalue test
cases.

Reviewers: aheejin, dschuff

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

Tags: #llvm

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




More information about the All-commits mailing list