llvm-6502/test/CodeGen
Evan Cheng 515fe3a588 Optimize some vfp comparisons to integer ones. This patch implements the simplest case when the following conditions are met:
1. The arguments are f32.
2. The arguments are loads and they have no uses other than the comparison.
3. The comparison code is EQ or NE.

e.g.
        vldr.32 s0, [r1]
        vldr.32 s1, [r0]
        vcmpe.f32       s1, s0
        vmrs    apsr_nzcv, fpscr
	beq     LBB0_2
=>
        ldr     r1, [r1]
        ldr     r0, [r0]
        cmp     r0, r1
        beq     LBB0_2

More complicated cases will be implemented in subsequent patches.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107852 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-08 02:08:50 +00:00
..
Alpha
ARM Optimize some vfp comparisons to integer ones. This patch implements the simplest case when the following conditions are met: 2010-07-08 02:08:50 +00:00
Blackfin
CBackend
CellSPU Fix some tests that didn't test anything. 2010-06-26 20:05:06 +00:00
CPP
Generic Fix up -fstack-protector on linux to use the segment 2010-07-06 05:18:56 +00:00
MBlaze
Mips
MSP430
PIC16
PowerPC Fix up -fstack-protector on linux to use the segment 2010-07-06 05:18:56 +00:00
SPARC
SystemZ
Thumb Propagate the AlignStack bit in InlineAsm's to the 2010-07-02 20:16:09 +00:00
Thumb2 Changes to ARM tail calls, mostly cosmetic. 2010-07-08 01:18:23 +00:00
X86 Revert 107840 107839 107813 107804 107800 107797 107791. 2010-07-08 01:00:56 +00:00
XCore