[all-commits] [llvm/llvm-project] dd0bba: [WebAssembly] Fix epilogue insertion for indirect ...

Thomas Lively via All-commits all-commits at lists.llvm.org
Wed Mar 22 09:29:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd0bbae5efa4d23322eda905b2f9e11dfd3c5d36
      https://github.com/llvm/llvm-project/commit/dd0bbae5efa4d23322eda905b2f9e11dfd3c5d36
  Author: Thomas Lively <tlively at google.com>
  Date:   2023-03-22 (Wed, 22 Mar 2023)

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

  Log Message:
  -----------
  [WebAssembly] Fix epilogue insertion for indirect tail calls

Previously epilogues were incorrectly inserted after indirect tail calls because
they did not have the `isTerminator` property. Add that property and test that
they get correct epilogues. To be safe, also add other properties that were
defined for direct tail calls.

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




More information about the All-commits mailing list