[all-commits] [llvm/llvm-project] d6cc7a: [FastISel] Respect musttail over "disable-tail-calls"

aeubanks via All-commits all-commits at lists.llvm.org
Tue Aug 23 08:56:01 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d6cc7a5b462bb290d281c3429af9fa0bad283b3d
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2022-08-23 (Tue, 23 Aug 2022)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
    A llvm/test/CodeGen/X86/fast-isel-disable-tail-calls.ll

  Log Message:
  [FastISel] Respect musttail over "disable-tail-calls"

musttail should be honored even in the presence of attributes like "disable-tail-calls". SelectionDAG properly handles this.

Update LangRef to explicitly mention that this is the semantics of musttail.

Reviewed By: rnk

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

More information about the All-commits mailing list