llvm-mirror/lib
Chris Lattner 69390a3f80 Two improvements:
1. Codegen this comparison:
     if (X == 0x8000)

as:

        cmplwi cr0, r3, 32768
        bne cr0, LBB1_2 ;cond_next

instead of:

        lis r2, 0
        ori r2, r2, 32768
        cmpw cr0, r3, r2
        bne cr0, LBB1_2 ;cond_next


2. Codegen this comparison:
      if (X == 0x12345678)

as:

        xoris r2, r3, 4660
        cmplwi cr0, r2, 22136
        bne cr0, LBB1_2 ;cond_next

instead of:

        lis r2, 4660
        ori r2, r2, 22136
        cmpw cr0, r3, r2
        bne cr0, LBB1_2 ;cond_next

llvm-svn: 30509
2006-09-20 04:25:47 +00:00
..
Analysis Explain change with a comment. 2006-09-17 17:51:00 +00:00
AsmParser Added some eye-candy for Subtarget type checking 2006-09-17 20:25:45 +00:00
Bytecode Small fixes for supporting dll* linkage types 2006-09-17 13:06:18 +00:00
CodeGen Expand 64-bit shifts more optimally if we know that the high bit of the 2006-09-20 03:38:48 +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 Instantiate Statistic<> in one place, not in every .o file that uses it. 2006-08-30 04:17:00 +00:00
System Use new config.h macro 2006-09-14 06:21:59 +00:00
Target Two improvements: 2006-09-20 04:25:47 +00:00
Transforms Back out Chris' last set of changes. This breaks 177.mesa and povray somehow. 2006-09-20 01:39:40 +00:00
VMCore add a helper method 2006-09-18 04:54:57 +00:00
Makefile