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
2003-03-08 23:59:05 +00:00
2003-03-10 22:39:02 +00:00
2003-02-18 20:42:15 +00:00
2003-02-19 22:12:20 +00:00
2003-01-31 19:00:26 +00:00
2003-02-19 22:12:20 +00:00
2003-01-31 19:00:26 +00:00
Description
Mirror of official llvm git repository located at http://llvm.org/git/llvm. Updated every five minutes.
473 MiB
Languages
LLVM 46.9%
C++ 42.5%
Assembly 8.9%
C 0.6%
Python 0.4%
Other 0.5%