Skip to content
  1. May 03, 2010
    • Dan Gohman's avatar
      Fix a bug which prevented tail merging of return instructions in · 2ad68de4
      Dan Gohman authored
      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.
      
      llvm-svn: 102907
      2ad68de4
  2. May 01, 2010
  3. Apr 30, 2010
  4. Apr 29, 2010
  5. Apr 28, 2010
Loading