arsenm added inline comments.

================
Comment at: clang/lib/CodeGen/CodeGenModule.cpp:1934
       !F->hasFnAttribute(llvm::Attribute::AlwaysInline)) {
     B.addAttribute(llvm::Attribute::OptimizeNone);
 
----------------
I still think adding optnone to everything at -O0 is a bad idea in the first 
place, and the optimization level should not be encoded in the IR


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125719

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D125719: [Attribute... Stephen Long via Phabricator via cfe-commits
    • [PATCH] D125719: [Attr... Matt Arsenault via Phabricator via cfe-commits

Reply via email to