[PATCH] D87956: [IR] add fn attr for no_stack_protector; prevent inlining on mismatch
Arthur Eubanks via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 16 16:32:02 PST 2020
aeubanks 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
+
----------------
nickdesaulniers wrote:
> 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`?
Just a new RUN line: `RUN: opt -passes=always-inline -o - -S %s | FileCheck %s`
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