diff options
author | Shuxin Yang <shuxin.llvm@gmail.com> | 2012-10-31 23:11:48 +0000 |
---|---|---|
committer | Shuxin Yang <shuxin.llvm@gmail.com> | 2012-10-31 23:11:48 +0000 |
commit | 01efdd6c283aebeb911bebf83429ac6f4e141b94 (patch) | |
tree | 88e354fc592f656ed8e5ea6a6ca21d37d941dc8c /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6fd25ac3e27da5295e002391c162644976923d05 (diff) | |
download | llvm-01efdd6c283aebeb911bebf83429ac6f4e141b94.zip llvm-01efdd6c283aebeb911bebf83429ac6f4e141b94.tar.gz llvm-01efdd6c283aebeb911bebf83429ac6f4e141b94.tar.bz2 |
(For X86) Enhancement to add-carray/sub-borrow (adc/sbb) optimization.
The adc/sbb optimization is to able to convert following expression
into a single adc/sbb instruction:
(ult) ... = x + 1 // where the ult is unsigned-less-than comparison
(ult) ... = x - 1
This change is to flip the "x >u y" (i.e. ugt comparison) in order
to expose the adc/sbb opportunity.
llvm-svn: 167180
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions