[PATCH] D87956: [IR] add fn attr for no_stack_protector; prevent inlining on mismatch

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 16 15:38:30 PST 2020


nickdesaulniers added inline comments.


================
Comment at: llvm/test/Transforms/Inline/inline_nossp.ll:3
+; RUN: opt -passes='cgscc(inline)' %s -S | FileCheck %s
+; RUN: opt -always-inline -o - -S %s | FileCheck %s
+
----------------
aeubanks wrote:
> This test fails with the NPM,
> `opt -passes=always-inline ...`
> 
> Does `llvm::isInlineViable()` need to be updated?
Thanks for the report.  Is there a Cmake configuration I need to explicitly set to reproduce? `LLVM_USE_NEWPM`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87956



More information about the cfe-commits mailing list