1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/lib/Transforms/Utils
Chris Lattner aecb9a4040 Fix a pretty serious misfeature of the inliner: if it inlines a function
with multiple return values it inserts a PHI to merge them all together.
However, if the return values are all the same, it ends up with a pointless
PHI and this pointless PHI happens to really block SRoA from happening in 
at least a silly C++ example written by Doug, but probably others.  This 
fixes rdar://7339069.

llvm-svn: 85206
2009-10-27 05:39:41 +00:00
..
AddrModeMatcher.cpp Change Pass::print to take a raw ostream instead of std::ostream, 2009-08-23 06:03:38 +00:00
BasicBlockUtils.cpp Fix SplitBlockPredecessors' LoopInfo updating code to handle the case 2009-10-19 16:04:50 +00:00
BasicInliner.cpp Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces. 2009-10-25 06:33:48 +00:00
BreakCriticalEdges.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
CloneFunction.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
CloneLoop.cpp
CloneModule.cpp MapValue doesn't needs its LLVMContext argument. 2009-10-24 23:37:16 +00:00
CMakeLists.txt Remove FreeInst. 2009-10-26 23:43:48 +00:00
CodeExtractor.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
DemoteRegToStack.cpp Revert yesterday's change by removing the LLVMContext parameter to AllocaInst and MallocInst. 2009-07-15 23:53:25 +00:00
InlineFunction.cpp Fix a pretty serious misfeature of the inliner: if it inlines a function 2009-10-27 05:39:41 +00:00
InstructionNamer.cpp Change instnamer to name arguments "arg" instead of "tmp" for clarity, and 2009-10-19 14:47:32 +00:00
LCSSA.cpp rewrite LCSSA to use SSAUpdate, to only return true if it modifies 2009-10-11 02:53:37 +00:00
Local.cpp Rename MallocHelper as MallocFreeHelper, since it now also identifies calls to free() 2009-10-26 23:58:56 +00:00
LoopSimplify.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
LowerInvoke.cpp Remove FreeInst. 2009-10-26 23:43:48 +00:00
LowerSwitch.cpp Remove FreeInst. 2009-10-26 23:43:48 +00:00
Makefile
Mem2Reg.cpp Remove FreeInst. 2009-10-26 23:43:48 +00:00
PromoteMemoryToRegister.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
SimplifyCFG.cpp change simplifycfg to not duplicate 'unwind' instructions. Hopefully 2009-10-13 18:13:05 +00:00
SSAUpdater.cpp alternate fix for PR5258 which avoids worklist problems, with reduced testcase. 2009-10-20 20:27:49 +00:00
SSI.cpp Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces. 2009-10-25 06:33:48 +00:00
UnifyFunctionExitNodes.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
UnrollLoop.cpp eliminate the "Value" printing methods that print to a std::ostream. 2009-08-23 04:37:46 +00:00
ValueMapper.cpp MapValue doesn't needs its LLVMContext argument. 2009-10-24 23:37:16 +00:00