aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSjoerd Meijer <sjoerd.meijer@arm.com>2021-12-17 09:25:45 +0000
committerSjoerd Meijer <sjoerd.meijer@arm.com>2021-12-17 09:25:45 +0000
commit78a392cf9f3420f36e4252535d2a6792e02703fa (patch)
tree47479cccf4c0dada47be16dc0978df3f088ba1ce /flang/lib/Frontend/CompilerInvocation.cpp
parent6bd8f114c8f1bccccfdbfd00f1bca118569147ee (diff)
downloadllvm-78a392cf9f3420f36e4252535d2a6792e02703fa.zip
llvm-78a392cf9f3420f36e4252535d2a6792e02703fa.tar.gz
llvm-78a392cf9f3420f36e4252535d2a6792e02703fa.tar.bz2
[FuncSpec] Respect MaxConstantsThreshold
This is a follow up of D115458 and truncates the worklist of actual arguments that can be specialised to 'MaxConstantsThreshold' candidates if MaxConstantsThreshold was exceeded. Thus, this changes the behaviour of option -func-specialization-max-constants. Before it didn't specialise at all when this threshold was exceeded, but now it specialises up to MaxConstantsThreshold candidates from the sorted worklist. Differential Revision: https://reviews.llvm.org/D115509
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions