diff options
author | Manman Ren <mren@apple.com> | 2012-04-30 22:51:25 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2012-04-30 22:51:25 +0000 |
commit | 4f4d5c8fc838617b9cfcf3b8656226593891383e (patch) | |
tree | 1c0352327a5c4a14decd20a54f0ca3602fb14c82 /clang/lib/Sema/SemaCodeComplete.cpp | |
parent | e78031a9f3ef1249c76969611580637a034d56ae (diff) | |
download | llvm-4f4d5c8fc838617b9cfcf3b8656226593891383e.zip llvm-4f4d5c8fc838617b9cfcf3b8656226593891383e.tar.gz llvm-4f4d5c8fc838617b9cfcf3b8656226593891383e.tar.bz2 |
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
llvm-svn: 155853
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions