summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2018-12-14 19:45:43 +0000
committerMichael Kruse <llvm@meinersbur.de>2018-12-14 19:45:43 +0000
commitea9ef345581a6bdb6da1bd4c30d614f424254c0d (patch)
treef44dd3c76edfc447ed60d9ba2accafe2113ffae7 /llvm/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp
parentbaaf2cc7ba02aac73e54f6a9ed5867ad90028dd2 (diff)
downloadbcm5719-llvm-ea9ef345581a6bdb6da1bd4c30d614f424254c0d.tar.gz
bcm5719-llvm-ea9ef345581a6bdb6da1bd4c30d614f424254c0d.zip
[TransformWarning] Do not warn missed transformations in optnone functions.
Optimization transformations are intentionally disabled by the 'optnone' function attribute. Therefore do not warn if transformation metadata is still present. Using the legacy pass manager structure, the `skipFunction` method takes care for the optnone attribute (already called before this patch). For the new pass manager, there is no equivalent, so we check for the 'optnone' attribute manually. Differential Revision: https://reviews.llvm.org/D55690 llvm-svn: 349184
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud