[all-commits] [llvm/llvm-project] ca4c1a: [Outliner] Set nounwind for outlined functions

David Green via All-commits all-commits at lists.llvm.org
Wed Jul 1 09:19:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ca4c1ad854ab9baf510e489d81625cace991beb1
      https://github.com/llvm/llvm-project/commit/ca4c1ad854ab9baf510e489d81625cace991beb1
  Author: David Green <david.green at arm.com>
  Date:   2020-07-01 (Wed, 01 Jul 2020)

  Changed paths:
    M llvm/lib/CodeGen/MachineOutliner.cpp
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-cfi.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-same-key-b.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-v8-3.ll
    A llvm/test/CodeGen/AArch64/machine-outliner-throw.ll
    A llvm/test/CodeGen/AArch64/machine-outliner-throw2.ll
    M llvm/test/CodeGen/AArch64/machine-outliner.ll

  Log Message:
  -----------
  [Outliner] Set nounwind for outlined functions

This prevents the outlined functions from pulling in a lot of unnecessary code
in our downstream libraries/linker. Which stops outlining making codesize
worse in c++ code with no-exceptions.

Differential Revision: https://reviews.llvm.org/D57254




More information about the All-commits mailing list