llvm-6502/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
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
FrontendObjC++
Integer
lib
Linker
LLVMC
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
TableGen
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
lit.cfg
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