llvm-6502/lib/Transforms/Utils
Reid Kleckner 0df9abbd63 Fix PR7272 in -tailcallelim instead of the inliner
The -tailcallelim pass should be checking if byval or inalloca args can
be captured before marking calls as tail calls.  This was the real root
cause of PR7272.

With a better fix in place, revert the inliner change from r105255.  The
test case it introduced still passes and has been moved to
test/Transforms/Inline/byval-tail-call.ll.

Reviewers: chandlerc

Differential Revision: http://reviews.llvm.org/D3403

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206789 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-21 20:48:47 +00:00
..
AddDiscriminators.cpp Fix bug 19437 - Only add discriminators for DWARF 4 and above. 2014-04-17 22:33:50 +00:00
ASanStackFrameLayout.cpp
BasicBlockUtils.cpp Set debug info for instructions inserted in SplitBlockAndInsertIfThen. 2014-03-19 12:56:38 +00:00
BreakCriticalEdges.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-05 09:10:37 +00:00
BuildLibCalls.cpp Revert r203488 and r203520. 2014-03-12 18:09:37 +00:00
BypassSlowDivision.cpp
CloneFunction.cpp CloneFunction: Clone all attributes, including the CC 2014-03-26 22:26:35 +00:00
CloneModule.cpp
CMakeLists.txt Pass to emit DWARF path discriminators. 2014-03-03 20:06:11 +00:00
CmpInstAnalysis.cpp
CodeExtractor.cpp [C++11] Add range based accessors for the Use-Def chain of a Value. 2014-03-09 03:16:01 +00:00
DemoteRegToStack.cpp [C++11] Add range based accessors for the Use-Def chain of a Value. 2014-03-09 03:16:01 +00:00
FlattenCFG.cpp
GlobalStatus.cpp [C++11] Add range based accessors for the Use-Def chain of a Value. 2014-03-09 03:16:01 +00:00
InlineFunction.cpp Fix PR7272 in -tailcallelim instead of the inliner 2014-04-21 20:48:47 +00:00
InstructionNamer.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-05 09:10:37 +00:00
IntegerDivision.cpp
LCSSA.cpp remove some dead code 2014-04-17 22:26:44 +00:00
LLVMBuild.txt
Local.cpp C++11: convert verbose loops to range-based loops. 2014-03-27 23:30:04 +00:00
LoopSimplify.cpp remove some dead code 2014-04-17 22:26:44 +00:00
LoopUnroll.cpp [LPM] Fix PR18616 where the shifts to the loop pass manager to extract 2014-01-28 01:25:38 +00:00
LoopUnrollRuntime.cpp
LowerExpectIntrinsic.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-05 09:10:37 +00:00
LowerInvoke.cpp Remove LowerInvoke's obsolete "-enable-correct-eh-support" option 2014-03-20 19:54:47 +00:00
LowerSwitch.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-05 09:10:37 +00:00
Makefile
Mem2Reg.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-05 09:10:37 +00:00
MetaRenamer.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-05 09:10:37 +00:00
ModuleUtils.cpp
PromoteMemoryToRegister.cpp [C++11] Add range based accessors for the Use-Def chain of a Value. 2014-03-09 03:16:01 +00:00
SimplifyCFG.cpp Allow switch-to-lookup table for tables with holes by adding bitmask check 2014-03-12 18:35:40 +00:00
SimplifyIndVar.cpp [C++11] Add range based accessors for the Use-Def chain of a Value. 2014-03-09 03:16:01 +00:00
SimplifyInstructions.cpp Implement depth_first and inverse_depth_first range factory functions. 2014-04-11 01:50:01 +00:00
SimplifyLibCalls.cpp [C++11] Add range based accessors for the Use-Def chain of a Value. 2014-03-09 03:16:01 +00:00
SpecialCaseList.cpp Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
SSAUpdater.cpp [Modules] Move CFG.h to the IR library as it defines graph traits over 2014-03-04 11:45:46 +00:00
UnifyFunctionExitNodes.cpp
Utils.cpp Pass to emit DWARF path discriminators. 2014-03-03 20:06:11 +00:00
ValueMapper.cpp