SuccessChanges

Summary

  1. [AMDGPU] Do not check max-bb for a single block callee (details)
Commit 7c724a896f93c97fe75db6f37b0995c9b35e0b82 by Stanislav.Mekhanoshin
[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
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgpu-inline.ll (diff)