llvm-6502/lib
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 Added a variant of InlineCostAnalyzer::getInlineCost() that takes the called function as an explicit argument, for use when inlining function pointers. 2010-05-01 15:47:41 +00:00
Archive silence a warning, patch by "mike". 2010-04-25 04:44:26 +00:00
AsmParser reject invalid comma stuff with a message. We reject the case in 2010-04-23 00:50:50 +00:00
Bitcode Revert 101465, it broke internal OpenGL testing. 2010-04-16 23:37:20 +00:00
CodeGen Fix a bug which prevented tail merging of return instructions in 2010-05-03 14:35:47 +00:00
CompilerDriver
ExecutionEngine Remove the -enable-sjlj-eh option, which doesn't do anything. 2010-05-02 15:36:26 +00:00
Linker
MC Add support for assemblers that don't support periods in a name 2010-04-29 04:00:56 +00:00
Support Fix typo. add a test case. 2010-04-19 20:31:39 +00:00
System This doesn't need SmallVector.h anymore. 2010-04-19 17:51:31 +00:00
Target Add a README entry. 2010-05-03 14:31:00 +00:00
Transforms revert r102831. We already delete dead readonly calls in 2010-05-01 17:19:38 +00:00
VMCore Verify metadata harder. In particular, check that module 2010-04-29 16:10:30 +00:00
Makefile