1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/lib
Chris Lattner e0d0c64c8a constant fold FP_ROUND_INREG, ZERO_EXTEND_INREG, and SIGN_EXTEND_INREG
This allows the alpha backend to compile:

bool %test(uint %P) {
        %c = seteq uint %P, 0
        ret bool %c
}

into:

test:
        ldgp $29, 0($27)
        ZAP $16,240,$0
        CMPEQ $0,0,$0
        AND $0,1,$0
        ret $31,($26),1

instead of:

test:
        ldgp $29, 0($27)
        ZAP $16,240,$0
        ldiq $1,0
        ZAP $1,240,$1
        CMPEQ $0,$1,$0
        AND $0,1,$0
        ret $31,($26),1

... and fixes PR534.

llvm-svn: 20534
2005-03-09 18:37:12 +00:00
..
Analysis Fix Regression/Analysis/BasicAA/2005-03-09-BrokenBasicAA.ll, a miscompilation 2005-03-09 16:29:52 +00:00
AsmParser zap 2005-03-05 19:04:07 +00:00
Bytecode Fix an apparent ambiguity compiling on PPC 2005-03-07 02:59:36 +00:00
CodeGen constant fold FP_ROUND_INREG, ZERO_EXTEND_INREG, and SIGN_EXTEND_INREG 2005-03-09 18:37:12 +00:00
Debugger Correct the comments and file header. 2004-12-23 21:16:46 +00:00
ExecutionEngine Use const iterators where possible. Patch by Evan Jones! 2005-02-27 19:06:10 +00:00
Linker Add support for ".so" files compiled with LLVM which contain LLVM bytecode. 2005-02-19 18:30:29 +00:00
Support get bugpoint working on ia64, by building .so's with -fpic. :) 2005-03-09 03:31:02 +00:00
System Be slightly more accurate in an error message. 2005-03-02 05:45:56 +00:00
Target Fix a crash handling 'undef bool', fixing an llc crash on 186.crafty 2005-03-08 22:53:09 +00:00
Transforms fix a bug where we thought arguments were constants :( 2005-03-06 22:52:29 +00:00
VMCore correct the computation of the isAbstract bit for types. 2005-03-09 17:34:27 +00:00
Makefile Add the Linker library 2004-11-14 21:54:41 +00:00