commit | 4fea2e982d79132715711dfcfdc46abf15239217 | [log] [tgz] |
---|---|---|
author | Torok Edwin <edwintorok@gmail.com> | Sun Apr 06 21:23:02 2008 +0000 |
committer | Torok Edwin <edwintorok@gmail.com> | Sun Apr 06 21:23:02 2008 +0000 |
tree | 6a99d39f0d871028fd0ba90ec92df26864c8f9d0 | |
parent | 051a950000e21935165db56695e35bade668193b [diff] |
Prefer to expand mask for xor to -1, so we have a chance to turn it into a not. If it cannot be expanded, it will keep the old behaviour and try to shrink the constant. Part of enhancement for PR2191. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49280 91177308-0d34-0410-b5e6-96231b3b80d8