eaf14786ca3975266ed7041ac242122c02baf1cf |
|
06-May-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Fix const merging when an alias of a const is llvm.used. We used to disable constant merging not only if a constant is llvm.used, but also if an alias of a constant is llvm.used. This change fixes that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181175 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/ConstantMerge/merge-both.ll
|
b4912b9dccd7250c372a40ba0734171c6b0f5e9b |
|
30-Dec-2012 |
Dmitri Gribenko <gribozavr@gmail.com> |
Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a ModuleID This is done to avoid odd test failures, like the one fixed in r171243. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171246 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/ConstantMerge/merge-both.ll
|
e511186183d49fb9c4ebefe746ca65e5d9275ff4 |
|
27-Jul-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Teach the ConstantMerge pass about alignment. Fixes PR10514! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136250 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/ConstantMerge/merge-both.ll
|
d6e5cbc84226ad4a62e8847f1babecf86089d415 |
|
16-Jan-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Don't merge two constants if we care about the address of both. This fixes the original testcase in PR8927. It also causes a clang binary built with a patched clang to increase in size by 0.21%. We can probably get some of the size back by writing a pass that detects that a global never has its pointer compared and adds unnamed_addr to it (maybe extend global opt). It is also possible that there are some other cases clang could add unnamed_addr to. I will investigate extending globalopt next. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123584 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/Transforms/ConstantMerge/merge-both.ll
|