llvm-6502/test/CodeGen/Mips
Evan Cheng 44be1a8d66 Enable machine sinking critical edge splitting. e.g.
define double @foo(double %x, double %y, i1 %c) nounwind {
  %a = fdiv double %x, 3.2
  %z = select i1 %c, double %a, double %y
  ret double %z
}

Was:
_foo:
        divsd   LCPI0_0(%rip), %xmm0
        testb   $1, %dil
        jne     LBB0_2
        movaps  %xmm1, %xmm0
LBB0_2:
        ret

Now:
_foo:
        testb   $1, %dil
        je      LBB0_2
        divsd   LCPI0_0(%rip), %xmm0
        ret
LBB0_2:
        movaps  %xmm1, %xmm0
        ret

This avoids the divsd when early exit is taken.
rdar://8454886


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114372 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-20 22:52:00 +00:00
..
2008-06-05-Carry.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-07-03-SRet.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-07-05-ByVal.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-07-06-fadd64.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-07-07-Float2Int.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-07-07-FPExtend.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-07-07-IntDoubleConvertions.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-07-15-InternalConstant.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-07-15-SmallSection.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-07-16-SignExtInReg.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-07-22-Cstpool.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-07-23-fpcmp.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-07-29-icmp.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-07-31-fcopysign.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-08-01-AsmInline.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-08-03-fabs64.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-08-03-ReturnDouble.ll
2008-08-04-Bitconvert.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-08-06-Alloca.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-08-07-CC.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-08-07-FPRound.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-08-08-bswap.ll
2008-08-08-ctlz.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-10-13-LegalizerBug.ll
2008-11-10-xint_to_fp.ll
2009-11-16-CstPoolLoad.ll
2010-04-07-DbgValueOtherTargets.ll
2010-07-20-Select.ll Enable machine sinking critical edge splitting. e.g. 2010-09-20 22:52:00 +00:00
2010-07-20-Switch.ll
dg.exp
private.ll