diff options
author | Yaron Keren <yaron.keren@gmail.com> | 2015-08-15 19:06:14 +0000 |
---|---|---|
committer | Yaron Keren <yaron.keren@gmail.com> | 2015-08-15 19:06:14 +0000 |
commit | dfb655fe1730e62a51b4cfb24e7511393083e4d3 (patch) | |
tree | b54466c4232b7b8eff9c31611613fd563709b613 /llvm/lib/Transforms/IPO/MergeFunctions.cpp | |
parent | 40d4eb40f683447f226eadeddcd37919e78039a4 (diff) | |
download | bcm5719-llvm-dfb655fe1730e62a51b4cfb24e7511393083e4d3.tar.gz bcm5719-llvm-dfb655fe1730e62a51b4cfb24e7511393083e4d3.zip |
Try to appease VS 2015 warnings from http://reviews.llvm.org/D11890
ByteSize and BitSize should not be size_t but unsigned, considering
1) They are at most 2^16 and 2^19, respectively.
2) BitSize is an argument to Type::getIntNTy which takes unsigned.
Also, use the correct utostr instead itostr and cache the string result.
Thanks to James Touton for reporting this!
llvm-svn: 245167
Diffstat (limited to 'llvm/lib/Transforms/IPO/MergeFunctions.cpp')
0 files changed, 0 insertions, 0 deletions