OSDN Git Service

ReversePostOrderFunctionAttrs is not modifying the call graph, let's preserve it.
authorMehdi Amini <mehdi.amini@apple.com>
Mon, 2 May 2016 18:03:33 +0000 (18:03 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Mon, 2 May 2016 18:03:33 +0000 (18:03 +0000)
commita4a5ff8bb3f99cc2ba3e1a51fb2bc1537e21ab27
tree2a23f981fe1f2420a1a035903b9f979d3fa0b726
parent83f4a25d58b15175b16181150512290c31d9f1f8
ReversePostOrderFunctionAttrs is not modifying the call graph, let's preserve it.

When running cc1 with -flto=thin, it is followed by GlobalOpt, which
requires the callgraph. This saves rebuilding one.

From: Mehdi Amini <mehdi.amini@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268266 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/FunctionAttrs.cpp