diff options
author | Bryant Wong <llvm-commits@xorshift.org> | 2017-03-23 23:21:07 +0000 |
---|---|---|
committer | Bryant Wong <llvm-commits@xorshift.org> | 2017-03-23 23:21:07 +0000 |
commit | def79b21e4f45dec583beedf747c6a02c542164d (patch) | |
tree | 5b32d874091c2f59fa667b938c18c87b30264b98 /llvm/lib/CodeGen | |
parent | d6848fc58f70838e8f27f58a5f637c95ad15b7a8 (diff) | |
download | bcm5719-llvm-def79b21e4f45dec583beedf747c6a02c542164d.tar.gz bcm5719-llvm-def79b21e4f45dec583beedf747c6a02c542164d.zip |
[MetaRenamer] Don't rename library functions.
Library functions can have specific semantics that affect the behavior of
certain passes. DSE, for instance, gives special treatment to malloc-ed pointers
but not to pointers returned from an equivalently typed (but differently named)
function.
MetaRenamer ought not to alter program semantics, so library functions must
remain untouched.
Reviewers: mehdi_amini, majnemer, chandlerc, davide
Reviewed By: davide
Subscribers: davide, llvm-commits
Differential Revision: https://reviews.llvm.org/D31304
llvm-svn: 298659
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions