diff options
author | John McCall <rjmccall@apple.com> | 2012-12-12 22:21:47 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2012-12-12 22:21:47 +0000 |
commit | 49954ca014a0511a970092efab3a79f3dd7e39f5 (patch) | |
tree | be227f28e0df34f645e65821e7226e44c2d4ae54 /llvm/unittests/Support/YAMLIOTest.cpp | |
parent | b088ff661763a1486392c89cdb5a884d22cad28d (diff) | |
download | bcm5719-llvm-49954ca014a0511a970092efab3a79f3dd7e39f5.tar.gz bcm5719-llvm-49954ca014a0511a970092efab3a79f3dd7e39f5.zip |
Rewrite calls to bitcast unprototyped functions when emitting a definition.
My variadics patch, r169588, changed these calls to typically be
bitcasts rather than calls to a supposedly variadic function.
This totally subverted a hack where we intentionally dropped
excess arguments from such calls in order to appease the inliner
and a "warning" from the optimizer. This patch extends the hack
to also work with bitcasts, as well as teaching it to rewrite
invokes.
llvm-svn: 170034
Diffstat (limited to 'llvm/unittests/Support/YAMLIOTest.cpp')
0 files changed, 0 insertions, 0 deletions