LLVM backend for 6502
Go to file
Chris Lattner 8d96964e29 Generalize not and neg comparison testers to allow constant to be considered not'able and neg'able. This
allows optimization of this:
int %test4(int %A, int %B) {
        %a = xor int %A, -1
        %c = and int %a, 5    ; 5 = ~c2
        %d = xor int %c, -1
        ret int %d
}

into this:
int %test4(int %A, int %B) {            ; No predecessors!
        %c.demorgan = or int %A, -6             ; <int> [#uses=1]
        ret int %c.demorgan
}


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5736 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-10 23:06:50 +00:00
docs The word 'independent' has no 'a'. 2003-03-08 23:59:05 +00:00
include Fix ConstantUInt::isAllOnesValue 2003-03-10 22:39:02 +00:00
lib Generalize not and neg comparison testers to allow constant to be considered not'able and neg'able. This 2003-03-10 23:06:50 +00:00
runtime Remove support for memset 2003-02-18 20:42:15 +00:00
support Make more compatible with GCC 2.96 2003-02-13 16:25:28 +00:00
test * Add testcases for associative operators 2003-03-10 22:43:56 +00:00
tools Make sure that intermediate code is verifier clean to avoid wierd problems. 2003-03-07 18:17:13 +00:00
utils * Don't run tests if compilation failed 2003-02-28 20:30:20 +00:00
Makefile Make sure to build lib/Support before the utilities, then use the new 2002-12-02 01:23:26 +00:00
Makefile.common Fix warnings compiling C files 2003-02-19 22:12:20 +00:00
Makefile.config Add new support for a bytecode repository 2003-01-17 17:36:47 +00:00
Makefile.Linux Fix strip issue Joel ran into 2003-01-31 19:00:26 +00:00
Makefile.rules Fix warnings compiling C files 2003-02-19 22:12:20 +00:00
Makefile.SunOS Fix strip issue Joel ran into 2003-01-31 19:00:26 +00:00