aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Object.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-10-21 08:01:56 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-10-21 08:01:56 +0000
commitddfeaafdfbff49557f8b8d3221cd997db1db7452 (patch)
tree8e177613225feba9a14c33b56dedc3efa12f6e8a /llvm/lib/Object/Object.cpp
parent7e9a7c4a7f9dc137198539bc65edca14d2d821d5 (diff)
downloadllvm-ddfeaafdfbff49557f8b8d3221cd997db1db7452.zip
llvm-ddfeaafdfbff49557f8b8d3221cd997db1db7452.tar.gz
llvm-ddfeaafdfbff49557f8b8d3221cd997db1db7452.tar.bz2
Add a very basic test for MachineBlockPlacement. This is essentially the
canonical example I used when developing it, and is one of the primary motivating real-world use cases for __builtin_expect (when burried under a macro). I'm working on more test cases here, but I'm trying to make sure both that the pass is doing the right thing with the test cases and that they aren't too brittle to changes elsewhere in the code generation pipeline. Feedback and/or suggestions on how to test this are very welcome. Especially feedback on whether testing the block comments is a good strategy; I couldn't find any good examples to steal from but all the other ideas I had were a lot uglier or more fragile. llvm-svn: 142644
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions