5d3257e37ced7dd75023bb9c4619f297374f61d6 |
|
28-Jun-2013 |
Jakob Stoklund Olesen <stoklund@2pi.dk> |
Fix a bad overflow check pointed out by Ben. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185226 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/BlockFrequencyTest.cpp
|
d7648ff20f8bbc8217a26576ca96addc55e003de |
|
28-Jun-2013 |
Jakob Stoklund Olesen <stoklund@2pi.dk> |
Add a division operator to BlockFrequency. Allow a BlockFrequency to be divided by a non-zero BranchProbability with saturating arithmetic. This will be used to compute the frequency of a loop header given the probability of leaving the loop. Our long division algorithm already saturates on overflow, so that was a freebie. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185184 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/BlockFrequencyTest.cpp
|
b47aceaf068352eebf4da87a647363b2317f0f22 |
|
21-Jun-2013 |
Benjamin Kramer <benny.kra@googlemail.com> |
Revert "BlockFrequency: Saturate at 1 instead of 0 when multiplying a frequency with a branch probability." This reverts commit r184584. Breaks PPC selfhost. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184590 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/BlockFrequencyTest.cpp
|
93702a3b0754052d926c75082abf7ca156b80c45 |
|
21-Jun-2013 |
Benjamin Kramer <benny.kra@googlemail.com> |
BlockFrequency: Saturate at 1 instead of 0 when multiplying a frequency with a branch probability. Zero is used by BlockFrequencyInfo as a special "don't know" value. It also causes a sink for frequencies as you can't ever get off a zero frequency with more multiplies. This recovers a 10% regression on MultiSource/Benchmarks/7zip. A zero frequency was propagated into an inner loop causing excessive spilling. PR16402. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184584 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/BlockFrequencyTest.cpp
|
5a88dda4be791426ab4d20a6a6c9c65d66614a27 |
|
04-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Sort the #include lines for unittest/... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169250 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/BlockFrequencyTest.cpp
|
3b6752eec5c588a10d1109e4f907f024cece4074 |
|
17-Jun-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
For reasons I can't fathom MSVC supports ULL but not LLU suffixes on long long integer literals. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158648 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/BlockFrequencyTest.cpp
|
13b10731abfc006fce790c5c8205cd24c7d67de8 |
|
24-Oct-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Implement comparison operators for BranchProbability in a way that can't overflow INT64_MAX. Add a test case for the edge case that triggers this. Thanks to Chandler for bringing this to my attention. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142794 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/BlockFrequencyTest.cpp
|
341473c86d19cad5f3be432533ecdb42d9e07044 |
|
23-Oct-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Add compare operators to BranchProbability and use it to determine if an edge is hot. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142751 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/BlockFrequencyTest.cpp
|
0031b4f74e4dd944720f896843e05598b7de2fee |
|
27-Jul-2011 |
Jakub Staszak <jstaszak@apple.com> |
Add test cases for BlockFrequency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136244 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/BlockFrequencyTest.cpp
|