[PATCH] D28053: Cleanup the handling of noinline function attributes, -fno-inline, -fno-inline-functions, -O0, and optnone.

Chandler Carruth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 22 11:46:27 PST 2016


chandlerc updated this revision to Diff 82356.
chandlerc added a comment.
Herald added a subscriber: wdng.

Fix an thinko found in review, clean up comments, and clean up pass pipeline
selection as that actually needs to happen in this patch as well.

Also update one test using -O1 and observing this, including making it use
FileCheck more effectively.


https://reviews.llvm.org/D28053

Files:
  include/clang/Frontend/CodeGenOptions.def
  include/clang/Frontend/CodeGenOptions.h
  lib/CodeGen/BackendUtil.cpp
  lib/CodeGen/CGOpenMPRuntime.cpp
  lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
  lib/CodeGen/CodeGenFunction.cpp
  lib/CodeGen/CodeGenModule.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/CXX/special/class.dtor/p3-0x.cpp
  test/CodeGen/2008-04-08-NoExceptions.c
  test/CodeGen/address-safety-attr-kasan.cpp
  test/CodeGen/address-safety-attr.cpp
  test/CodeGen/address-space-field1.c
  test/CodeGen/alias.c
  test/CodeGen/attr-minsize.cpp
  test/CodeGen/attributes.c
  test/CodeGen/incomplete-function-type-2.c
  test/CodeGen/inline-optim.c
  test/CodeGen/mips16-attr.c
  test/CodeGen/mrtd.c
  test/CodeGen/ms-declspecs.c
  test/CodeGen/ppc64-complex-parms.c
  test/CodeGen/ppc64-complex-return.c
  test/CodeGen/ppc64-extend.c
  test/CodeGen/sanitize-thread-attr.cpp
  test/CodeGen/sanitize-thread-no-checking-at-run-time.m
  test/CodeGen/unwind-attr.c
  test/CodeGenCXX/attr.cpp
  test/CodeGenCXX/cxx11-exception-spec.cpp
  test/CodeGenCXX/cxx11-noreturn.cpp
  test/CodeGenCXX/derived-to-base.cpp
  test/CodeGenCXX/global-dtor-no-atexit.cpp
  test/CodeGenCXX/global-init.cpp
  test/CodeGenCXX/inline-hint.cpp
  test/CodeGenCXX/main-norecurse.cpp
  test/CodeGenCXX/microsoft-abi-array-cookies.cpp
  test/CodeGenCXX/no-exceptions.cpp
  test/CodeGenCXX/optnone-class-members.cpp
  test/CodeGenCXX/optnone-def-decl.cpp
  test/CodeGenCXX/reference-cast.cpp
  test/CodeGenCXX/threadsafe-statics.cpp
  test/CodeGenCXX/thunks.cpp
  test/CodeGenCXX/virtual-base-cast.cpp
  test/CodeGenObjC/gnu-exceptions.m
  test/CodeGenObjC/objc-literal-tests.m
  test/CodeGenObjCXX/lambda-expressions.mm
  test/CodeGenOpenCL/amdgpu-attrs.cl
  test/Driver/darwin-iphone-defaults.m
  test/PCH/objc_container.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28053.82356.patch
Type: text/x-patch
Size: 43081 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161222/24eb0d3f/attachment-0001.bin>


More information about the cfe-commits mailing list