OSDN Git Service

[MachineOutliner] NFC: Move EnableLinkOnceODROutlining into MachineOutliner.cpp
authorJessica Paquette <jpaquette@apple.com>
Thu, 19 Apr 2018 22:17:07 +0000 (22:17 +0000)
committerJessica Paquette <jpaquette@apple.com>
Thu, 19 Apr 2018 22:17:07 +0000 (22:17 +0000)
commit7256bf169ac3709b3c3ad5c6d541cf809ec341fb
treec38603aed586a5b4df79eb13cfc6c547738d6403
parent770b506fe44cf776588f42aa550e77c9b3d760c6
[MachineOutliner] NFC: Move EnableLinkOnceODROutlining into MachineOutliner.cpp

This moves the EnableLinkOnceODROutlining flag from TargetPassConfig.cpp into
MachineOutliner.cpp. It also removes OutlineFromLinkOnceODRs from the
MachineOutliner constructor. This is now handled by the moved command-line
flag.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330373 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/Passes.h
lib/CodeGen/MachineOutliner.cpp
lib/CodeGen/TargetPassConfig.cpp