llvm/lib/Transforms/IPO
JF Bastien 50c9e6310e [MergeFuncs] Fix callsite attributes in thunk generation
This change correctly sets the attributes on the callsites
generated in thunks. This makes sure things such as sret, sext, etc.
are correctly set, so that the call can be a proper tailcall.

Also, the transfer of attributes in the replaceDirectCallers function
appears to be unnecessary, but until this is confirmed it will remain.

Author: jrkoenig
Reviewers: dschuff, jfb
Subscribers: llvm-commits, nlewycky
Differential revision: http://reviews.llvm.org/D12581

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247313 91177308-0d34-0410-b5e6-96231b3b80d8
2015-09-10 18:08:35 +00:00
..
ArgumentPromotion.cpp [PM/AA] Rebuild LLVM's alias analysis infrastructure in a way compatible 2015-09-09 17:55:00 +00:00
BarrierNoopPass.cpp
CMakeLists.txt Convert SampleProfile pass into a Module pass. 2015-08-25 15:25:11 +00:00
ConstantMerge.cpp
DeadArgumentElimination.cpp DeadArgElim: don't eliminate arguments from naked functions 2015-09-01 18:06:46 +00:00
ElimAvailExtern.cpp Remove two unused includes and C++11 rangify for loops. 2015-09-04 20:24:24 +00:00
ExtractGV.cpp
FunctionAttrs.cpp [PM/AA] Rebuild LLVM's alias analysis infrastructure in a way compatible 2015-09-09 17:55:00 +00:00
GlobalDCE.cpp
GlobalOpt.cpp Assume intrinsic handling in global opt 2015-08-25 01:34:15 +00:00
InlineAlways.cpp [PM/AA] Rebuild LLVM's alias analysis infrastructure in a way compatible 2015-09-09 17:55:00 +00:00
Inliner.cpp [PM/AA] Rebuild LLVM's alias analysis infrastructure in a way compatible 2015-09-09 17:55:00 +00:00
InlineSimple.cpp [PM/AA] Rebuild LLVM's alias analysis infrastructure in a way compatible 2015-09-09 17:55:00 +00:00
Internalize.cpp
IPConstantPropagation.cpp
IPO.cpp Convert SampleProfile pass into a Module pass. 2015-08-25 15:25:11 +00:00
LLVMBuild.txt Update libdeps in LLVMipo and LLVMScalarOpts, corresponding to r245940. 2015-08-25 17:11:17 +00:00
LoopExtractor.cpp
LowerBitSets.cpp LowerBitSets: Fix non-determinism bug. 2015-09-09 22:30:32 +00:00
Makefile
MergeFunctions.cpp [MergeFuncs] Fix callsite attributes in thunk generation 2015-09-10 18:08:35 +00:00
PartialInlining.cpp
PassManagerBuilder.cpp Enable GlobalsAA by default 2015-09-10 10:22:20 +00:00
PruneEH.cpp
SampleProfile.cpp Fix memory leak in sample profile pass. 2015-08-26 20:00:27 +00:00
StripDeadPrototypes.cpp
StripSymbols.cpp