llvm-6502/lib/Transforms
Bill Wendling f675b3c644 Move registering the execution of a basic block to the beginning rather than the end.
There are situations which can affect the correctness (or at least expectation)
of the gcov output. For instance, if a call to __gcov_flush() occurs within a
block before the execution count is registered and then the program aborts in
some way, then that block will not be marked as executed. This is not normally
what the user expects.

If we move the code that's registering when a block is executed to the
beginning, we can catch these types of situations.

PR16893


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188849 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-20 23:52:00 +00:00
..
Hello
InstCombine Use pop_back_val() instead of both back() and pop_back(). 2013-08-19 22:47:55 +00:00
Instrumentation Move registering the execution of a basic block to the beginning rather than the end. 2013-08-20 23:52:00 +00:00
IPO Also remove logic in LateVectorize 2013-08-13 16:12:04 +00:00
ObjCARC [objc-arc] Track if we encountered an additive overflow while computing {TopDown,BottomUp}PathCounts and do nothing if it occurred. 2013-08-09 23:22:27 +00:00
Scalar Revert r187191, which broke opt -mem2reg on the testcases included in PR16867. 2013-08-13 22:51:58 +00:00
Utils Introduce SpecialCaseList::isIn overload for GlobalAliases. 2013-08-19 19:00:35 +00:00
Vectorize SLPVectorizer: Fix invalid iterator errors 2013-08-20 21:21:45 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile