1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/lib
Chris Lattner b9c1ea6dcc Use cute tblgen tricks to make zap handling more powerful. Specifically,
when the dag combiner simplifies an and mask, notice this and allow those bits
to be missing from the zap mask.

This compiles Alpha/zapnot4.ll into:

        sll $16,3,$0
        zapnot $0,3,$0
        ret $31,($26),1

instead of:

        ldah $0,1($31)
        lda $0,-8($0)
        sll $16,3,$1
        and $1,$0,$0
        ret $31,($26),1

It would be *really* nice to replace the hunk of code in the
AlphaISelDAGToDAG.cpp file that matches (and (srl (x, C), c2) into
(SRL (ZAPNOTi)) with a similar pattern, but I've spent enough time poking
at alpha.  Make andrew will do this.

llvm-svn: 30875
2006-10-11 05:13:56 +00:00
..
Analysis Fix a bug pointed out by Zhongxing Xu 2006-10-09 17:28:13 +00:00
AsmParser Fix PR886: 2006-10-09 17:36:59 +00:00
Bytecode Small fixes for supporting dll* linkage types 2006-09-17 13:06:18 +00:00
CodeGen Jimptables working again on alpha. 2006-10-11 04:29:42 +00:00
Debugger For PR797: 2006-08-25 17:43:11 +00:00
ExecutionEngine Unbreak the JIT 2006-09-15 04:56:11 +00:00
Linker Adding dllimport, dllexport and external weak linkage types. 2006-09-14 18:23:27 +00:00
Support Fix a static dtor issue 2006-10-04 22:13:11 +00:00
System Use new config.h macro 2006-09-14 06:21:59 +00:00
Target Use cute tblgen tricks to make zap handling more powerful. Specifically, 2006-10-11 05:13:56 +00:00
Transforms Implement SROA of unions with mixed pointers/integers in them. This implements 2006-10-08 23:53:04 +00:00
VMCore Add insertelement/extractelement helper ctors. 2006-10-05 06:24:58 +00:00
Makefile Make some changes suggested by Chris: 2006-05-17 22:55:35 +00:00