diff options
author | Hans Wennborg <hans@hanshq.net> | 2016-03-01 17:45:23 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2016-03-01 17:45:23 +0000 |
commit | e64cf9dddb4ed095cadf8cacc5125b1bbfdb3b72 (patch) | |
tree | 74a32cb38e393ba8f6bb9dc31ed13beb8c90c34a /llvm/lib/CodeGen/TailDuplication.cpp | |
parent | 2ca144f14c0e725237ad2ccda4922925f08ccdb4 (diff) | |
download | bcm5719-llvm-e64cf9dddb4ed095cadf8cacc5125b1bbfdb3b72.tar.gz bcm5719-llvm-e64cf9dddb4ed095cadf8cacc5125b1bbfdb3b72.zip |
[X86] Check that attribute parameters match for tail calls (PR26590)
In the code below on 32-bit targets, x would previously get forwarded to g()
without sign-extension to 32 bits as required by the parameter attribute.
void g(signed short);
void f(unsigned short x) {
g(x);
}
llvm-svn: 262352
Diffstat (limited to 'llvm/lib/CodeGen/TailDuplication.cpp')
0 files changed, 0 insertions, 0 deletions