summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/CodeGen/TargetOptionsTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [unittests] Add InitializePasses.h includesHeejin Ahn2019-11-131-0/+1
| | | | | | | | | | | | | | Summary: After D70211, Pass.h does not include InitializePasses.h anymore, so these files need to include InitializePasses.h directly. Reviewers: rnk Subscribers: MatzeB, mehdi_amini, zzheng, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70217
* Try again to fix memory leak in r354692Daniel Sanders2019-02-231-2/+4
| | | | | | The previous one didn't fix everything. llvm-svn: 354719
* Fix memory leak in r354692Daniel Sanders2019-02-231-2/+2
| | | | llvm-svn: 354712
* Restore ability for C++ API users to Enable IPRA.Daniel Sanders2019-02-221-0/+74
Summary: Prior to r310876 one of our out-of-tree targets was enabling IPRA by modifying the TargetOptions::EnableIPRA. This no longer works on current trunk since the useIPRA() hook overrides any values that are set in advance. This patch adjusts the behaviour of the hook so that API users and useIPRA() can both enable it but useIPRA() cannot disable it if the API user already enabled it. Reviewers: arsenm Reviewed By: arsenm Subscribers: wdng, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D38043 llvm-svn: 354692
OpenPOWER on IntegriCloud