aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2021-03-01 16:13:13 -0800
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2021-03-01 19:48:50 -0800
commit7c724a896f93c97fe75db6f37b0995c9b35e0b82 (patch)
treecdc5b82af8020cd92bec20ad4312708cb84cb88f /clang/lib/Frontend/CompilerInvocation.cpp
parentea1a1ebbc673d810f1abf6cb58a40b5ec916ff07 (diff)
downloadllvm-7c724a896f93c97fe75db6f37b0995c9b35e0b82.zip
llvm-7c724a896f93c97fe75db6f37b0995c9b35e0b82.tar.gz
llvm-7c724a896f93c97fe75db6f37b0995c9b35e0b82.tar.bz2
[AMDGPU] Do not check max-bb for a single block callee
-amdgpu-inline-max-bb option could lead to a suboptimal codegen preventing inlining of really simple functions including pure wrapper calls. Relax the cutoff by allowing to call a function with a single block on the grounds that it will not increase total number of blocks after inlining. Differential Revision: https://reviews.llvm.org/D97744
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions