llvm-6502/lib/Transforms
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
..
Hello [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-05 09:10:37 +00:00
InstCombine [Modules] Sink all the DEBUG_TYPE defines for InstCombine out of the 2014-04-21 19:51:41 +00:00
Instrumentation Use unique_ptr to handle ownership of GCOVFunctions in GCOVProfiler. 2014-04-21 20:41:55 +00:00
IPO Simplify expression that was explicitly naming an operator overload in a call. 2014-04-21 20:43:51 +00:00
ObjCARC Fix use_iterator crash in ObjCArc from r203364 2014-03-18 22:32:43 +00:00
Scalar Fix PR7272 in -tailcallelim instead of the inliner 2014-04-21 20:48:47 +00:00
Utils Fix PR7272 in -tailcallelim instead of the inliner 2014-04-21 20:48:47 +00:00
Vectorize D3348 - [BUG] "Rotate Loop" pass kills "llvm.vectorizer.enable" metadata 2014-04-15 09:37:30 +00:00
CMakeLists.txt Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00
LLVMBuild.txt Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00
Makefile Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00