[all-commits] [llvm/llvm-project] 66f90f: Revert "[IRSim][IROutliner] Ignoring Musttail Func...

Andrew Litteken via All-commits all-commits at lists.llvm.org
Sun Mar 13 17:28:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 66f90fdff1812b2054a07c860a90f48de4f9eb48
      https://github.com/llvm/llvm-project/commit/66f90fdff1812b2054a07c860a90f48de4f9eb48
  Author: Andrew Litteken <andrew.litteken at gmail.com>
  Date:   2022-03-13 (Sun, 13 Mar 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/IRSimilarityIdentifier.h
    M llvm/include/llvm/Transforms/IPO/IROutliner.h
    M llvm/lib/Analysis/IRSimilarityIdentifier.cpp
    R llvm/test/Transforms/IROutliner/outlining-musttail.ll
    R llvm/test/Transforms/IROutliner/outlining-swifttailcc.ll
    R llvm/test/Transforms/IROutliner/outlining-tailcc.ll

  Log Message:
  -----------
  Revert "[IRSim][IROutliner] Ignoring Musttail Function"

This reverts commit c7037c72572c9d1b2a50dbf56077be7975f83f09.

Pushed too soon


  Commit: 1643f01232b41b93e5f3a21d89b111efab0e378a
      https://github.com/llvm/llvm-project/commit/1643f01232b41b93e5f3a21d89b111efab0e378a
  Author: Andrew Litteken <andrew.litteken at gmail.com>
  Date:   2022-03-13 (Sun, 13 Mar 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/IRSimilarityIdentifier.h
    M llvm/include/llvm/Transforms/IPO/IROutliner.h
    M llvm/lib/Analysis/IRSimilarityIdentifier.cpp
    A llvm/test/Transforms/IROutliner/outlining-musttail.ll
    A llvm/test/Transforms/IROutliner/outlining-swifttailcc.ll
    A llvm/test/Transforms/IROutliner/outlining-tailcc.ll

  Log Message:
  -----------
  [IRSim][IROutliner] Ignoring Musttail Function

Musttail calls require extra handling to properly propagate the calling convention information and tail call information. The outliner does not currently do this, so we ignore call instructions that utilize the swifttailcc and tailcc calling convention as well as functions marked with the attribute musttail.

Reviewers: paquette, aschwaighofer

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


Compare: https://github.com/llvm/llvm-project/compare/c7037c72572c...1643f01232b4


More information about the All-commits mailing list