summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/YAMLIOTest.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2012-12-12 22:21:47 +0000
committerJohn McCall <rjmccall@apple.com>2012-12-12 22:21:47 +0000
commit49954ca014a0511a970092efab3a79f3dd7e39f5 (patch)
treebe227f28e0df34f645e65821e7226e44c2d4ae54 /llvm/unittests/Support/YAMLIOTest.cpp
parentb088ff661763a1486392c89cdb5a884d22cad28d (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud