llvm/test
Dan Gohman 30fc5bbfd1 Fix a bug which prevented tail merging of return instructions in
beneficial cases. See the changes in test/CodeGen/X86/tail-opts.ll and
test/CodeGen/ARM/ifcvt2.ll for details.

The fix is to change HashEndOfMBB to hash at most one instruction,
instead of trying to apply heuristics about when it will be profitable to
consider more than one instruction. The regular tail-merging heuristics
are already prepared to handle the same cases, and they're more precise.

Also, make test/CodeGen/ARM/ifcvt5.ll and
test/CodeGen/Thumb2/thumb2-branch.ll slightly more complex so that they
continue to test what they're intended to test.

And, this eliminates the problem in
test/CodeGen/Thumb2/2009-10-15-ITBlockBranch.ll, the testcase from
PR5204. Update it accordingly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102907 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-03 14:35:47 +00:00
..
Analysis Add a comment to this test. 2010-04-26 21:37:43 +00:00
Archive
Assembler add newlines at the end of files. 2010-04-07 22:53:17 +00:00
Bindings/Ocaml
Bitcode reapply 'reject forward references to functions whose type don't match' 2010-04-20 04:49:11 +00:00
BugPoint
CodeGen Fix a bug which prevented tail merging of return instructions in 2010-05-03 14:35:47 +00:00
DebugInfo Update tests. Now DBG_VALUE instruction is created only if alloca corresponding to llvm.dbg.declare is missing. 2010-04-28 20:27:48 +00:00
ExecutionEngine Revert r101455, which fails on the llvm-arm-linux buildbot. 2010-04-16 18:37:31 +00:00
Feature add support for zero initialized unions, patch by Tim Northover! 2010-03-29 17:36:02 +00:00
FrontendAda
FrontendC Add -o /dev/null to some tests which don't care about their output. 2010-04-30 17:42:30 +00:00
FrontendC++ New test. 2010-04-30 19:39:29 +00:00
FrontendFortran
FrontendObjC Make sure this runs in 64-bit only, 32-bit won't produce the correct stores. 2010-03-25 01:46:07 +00:00
FrontendObjC++
Integer
lib
Linker
LLVMC XFAIL tests from LLVMC on valgrind or valgrind+leak-checking. We 2010-03-21 08:12:46 +00:00
MC Fixed the word sized Bit Scan Forward/Reverse instructions, they needed the 2010-04-28 23:20:40 +00:00
Other Add lint checks for invalid uses of memory. 2010-04-30 19:05:00 +00:00
Scripts Revert r98892. BSD systems may not have bash installed at all. 2010-03-19 00:32:11 +00:00
TableGen XFAIL a new tblgen test for memory leak checking. 2010-03-27 04:59:47 +00:00
Transforms revert r102831. We already delete dead readonly calls in 2010-05-01 17:19:38 +00:00
Unit
Verifier Reapply address space patch after fixing an issue in MemCopyOptimizer. 2010-04-04 03:10:48 +00:00
CMakeLists.txt Fix make check with cmake/lit 2010-03-10 18:41:59 +00:00
lit.cfg Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
lit.site.cfg.in
Makefile doh, didn't mean to check in my hackaround lit sucking. :) 2010-04-17 19:04:03 +00:00
Makefile.tests
site.exp.in
TestRunner.sh