aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorKit Barton <kbarton@ca.ibm.com>2015-08-31 18:26:45 +0000
committerKit Barton <kbarton@ca.ibm.com>2015-08-31 18:26:45 +0000
commitd3cc1678e806c4a6719bcfa4e92f372506af9b92 (patch)
treeb51b1c6657e01708fafa9e0b67e5a11c4f1fe425 /llvm/lib/CodeGen/MachineModuleInfo.cpp
parent0acbd08f3c94fd719aef9d7a97679a1657ba220e (diff)
downloadllvm-d3cc1678e806c4a6719bcfa4e92f372506af9b92.zip
llvm-d3cc1678e806c4a6719bcfa4e92f372506af9b92.tar.gz
llvm-d3cc1678e806c4a6719bcfa4e92f372506af9b92.tar.bz2
Rework of the new interface for shrink wrapping
Based on comments from Hal (http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20150810/292978.html), I've changed the interface to add a callback mechanism to the TargetFrameLowering class to query whether the specific target supports shrink wrapping. By default, shrink wrapping is disabled by default. Each target can override the default behaviour using the TargetFrameLowering::targetSupportsShrinkWrapping() method. Shrink wrapping can still be explicitly enabled or disabled from the command line, using the existing -enable-shrink-wrap=<true|false> option. Phabricator: http://reviews.llvm.org/D12293 llvm-svn: 246463
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions