[PATCH] D132623: [CodeGen] Disable tail calls at -O0/-O1

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 29 15:06:08 PDT 2022


probinson added a comment.

In D132623#3756345 <https://reviews.llvm.org/D132623#3756345>, @nikic wrote:

> Why does this need to use an attribute rather than querying optimization level in the backend?

The attribute already exists and is used in several places.  This patch just adds the attribute to more functions.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132623/new/

https://reviews.llvm.org/D132623



More information about the llvm-commits mailing list