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

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 14 00:03:08 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
+
----------------
This test fails with the NPM,
`opt -passes=always-inline ...`

Does `llvm::isInlineViable()` need to be updated?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87956



More information about the llvm-commits mailing list