diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-26 23:56:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-26 23:56:33 +0000 |
commit | 3f08e7899f205dd6df1edc496177791f271311f6 (patch) | |
tree | bbcae8d60294738c28249668ca7ba400f7a77872 /llvm/lib/Analysis/IPA/Andersens.cpp | |
parent | 2ba37389c9912570b56ac037c8c2063715189072 (diff) | |
download | bcm5719-llvm-3f08e7899f205dd6df1edc496177791f271311f6.tar.gz bcm5719-llvm-3f08e7899f205dd6df1edc496177791f271311f6.zip |
Factor out percentage printing into its own function. Make two changes to
the function: print more precision XX.X% instead of XX%, and cast to ULL
before scaling by 100/1000 to avoid wrap around for large numbers of queries
(such as occur for 253.perlbmk and 176.gcc)
llvm-svn: 20872
Diffstat (limited to 'llvm/lib/Analysis/IPA/Andersens.cpp')
0 files changed, 0 insertions, 0 deletions