Factor out percentage printing into its own function. Make two changes to
authorChris Lattner <sabre@nondot.org>
Sat, 26 Mar 2005 23:56:33 +0000 (23:56 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 26 Mar 2005 23:56:33 +0000 (23:56 +0000)
commite70492d0e298487f9cb8dd37cfcf9c4a060cc21c
tree77f6e793c17998473e48260db656eea318f1bb0f
parent1b9a2aac986344caec0f43378dadfdd04c593d46
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)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20872 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/AliasAnalysisEvaluator.cpp