[all-commits] [llvm/llvm-project] 918e90: [WebAssembly] Make stack pointer args inhibit tail...

Thomas Lively via All-commits all-commits at lists.llvm.org
Thu Feb 13 16:51:04 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 918e90559b08adebff26c342080c65e79cc223ec
      https://github.com/llvm/llvm-project/commit/918e90559b08adebff26c342080c65e79cc223ec
  Author: Thomas Lively <tlively at google.com>
  Date:   2020-02-13 (Thu, 13 Feb 2020)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td
    M llvm/test/CodeGen/WebAssembly/tailcall.ll

  Log Message:
  -----------
  [WebAssembly] Make stack pointer args inhibit tail calls

Summary:
Also make return calls terminator instructions so epilogues are
inserted before them rather than after them. Together, these changes
make WebAssembly's tail call optimization more stack-safe.

Reviewers: aheejin, dschuff

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

Tags: #llvm

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




More information about the All-commits mailing list