1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/Transforms
Guozhi Wei 559c35e089 [CodeGenPrepare] Handle ExtractValueInst in dupRetToEnableTailCallOpts
As the test case shows if there is an ExtractValueInst in the Ret block, function dupRetToEnableTailCallOpts can't duplicate it into the block containing call. So later no tail call is generated in CodeGen.

    This patch adds the ExtractValueInst handling code in function dupRetToEnableTailCallOpts and FoldReturnIntoUncondBranch, and later tail call can be generated for this case.

Differential Revision: https://reviews.llvm.org/D74242
2020-03-04 11:10:32 -08:00
..
AggressiveInstCombine [ConstantFolding] Always return something from ConstantFoldConstant 2020-03-04 18:24:47 +01:00
CFGuard
Coroutines [Coroutines] Use dbg.declare for frame variables 2020-03-03 17:13:46 -05:00
Hello
InstCombine [InstCombine] Don't explicitly invoke const folding in shift combine 2020-03-04 18:33:00 +01:00
Instrumentation Reland: [Coverage] Revise format to reduce binary size 2020-02-28 18:12:04 -08:00
IPO [ConstantFolding] Always return something from ConstantFoldConstant 2020-03-04 18:24:47 +01:00
ObjCARC
Scalar [LSR] Add masked load and store handling 2020-03-04 18:36:10 +00:00
Utils [CodeGenPrepare] Handle ExtractValueInst in dupRetToEnableTailCallOpts 2020-03-04 11:10:32 -08:00
Vectorize [VPlan] Add getPlan() to VPBlockBase. 2020-03-03 13:20:13 +00:00
CMakeLists.txt
LLVMBuild.txt