[PATCH] D38043: Restore ability for C++ API users to Enable IPRA.
Daniel Sanders via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 19 10:05:15 PDT 2017
dsanders created this revision.
Herald added subscribers: mgorny, wdng.
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.
https://reviews.llvm.org/D38043
Files:
lib/CodeGen/TargetPassConfig.cpp
unittests/CodeGen/CMakeLists.txt
unittests/CodeGen/TargetOptionsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38043.115859.patch
Type: text/x-patch
Size: 3615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170919/53fe7048/attachment.bin>
More information about the llvm-commits
mailing list