[all-commits] [llvm/llvm-project] caaacb: HotColdSplitting: Do not outline within noreturn f...

Vedant Kumar via All-commits all-commits at lists.llvm.org
Thu Dec 19 14:38:11 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: caaacb83995057b5226db97e5781b6f5f8d5c2b7
      https://github.com/llvm/llvm-project/commit/caaacb83995057b5226db97e5781b6f5f8d5c2b7
  Author: Vedant Kumar <vsk at apple.com>
  Date:   2019-12-19 (Thu, 19 Dec 2019)

  Changed paths:
    M llvm/lib/Transforms/IPO/HotColdSplitting.cpp
    M llvm/test/Transforms/HotColdSplit/noreturn.ll

  Log Message:
  -----------
  HotColdSplitting: Do not outline within noreturn functions

A function marked `noreturn` may contain unreachable terminators: these
should not be considered cold, as the function may be a trampoline.

rdar://58068594




More information about the All-commits mailing list