diff options
author | JF Bastien <jfb@google.com> | 2015-09-10 18:08:35 +0000 |
---|---|---|
committer | JF Bastien <jfb@google.com> | 2015-09-10 18:08:35 +0000 |
commit | fa946233b4e1ad857ecc4b14cec1f31c40eb94fa (patch) | |
tree | 3205853dcc4e35bd98bb4a7b5f360da8325337fd /llvm/lib/Analysis/ScalarEvolution.cpp | |
parent | a7970f3cf8eb0f3b2f46081aec7be0b70dfe5692 (diff) | |
download | bcm5719-llvm-fa946233b4e1ad857ecc4b14cec1f31c40eb94fa.tar.gz bcm5719-llvm-fa946233b4e1ad857ecc4b14cec1f31c40eb94fa.zip |
[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
llvm-svn: 247313
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
0 files changed, 0 insertions, 0 deletions