commit | 16a76519a5aa0e3a351cfde8e7236119ffd8b7fb | [log] [tgz] |
---|---|---|
author | Manman Ren <mren@apple.com> | Mon Apr 30 22:51:25 2012 +0000 |
committer | Manman Ren <mren@apple.com> | Mon Apr 30 22:51:25 2012 +0000 |
tree | 97a13cf302560765c6b11772e89492122789fbc0 | |
parent | 7a3afa91ad8f68428373948fc16375e99bff3c6f [diff] |
X86: optimization for -(x != 0) This patch will optimize -(x != 0) on X86 FROM cmpl $0x01,%edi sbbl %eax,%eax notl %eax TO negl %edi sbbl %eax %eax git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155853 91177308-0d34-0410-b5e6-96231b3b80d8