diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-01-26 20:13:44 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-01-26 20:13:44 +0000 |
commit | b7a15acd38ec1302639e0fff752e01472620b5b8 (patch) | |
tree | e49d205f04f4db4e815514c4ca15c83c72b02116 /clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp | |
parent | 8fd74ebfc03317feac43f513cb9e7d45e9215d12 (diff) | |
download | llvm-b7a15acd38ec1302639e0fff752e01472620b5b8.zip llvm-b7a15acd38ec1302639e0fff752e01472620b5b8.tar.gz llvm-b7a15acd38ec1302639e0fff752e01472620b5b8.tar.bz2 |
[X86] Fold X86ISD::SBB(ISD::SUB(X,Y),0) -> X86ISD::SBB(X,Y) (PR25858)
We often generate X86ISD::SBB(X, 0) for carry flag arithmetic.
I had tried to create test cases for the ADC equivalent (which often uses the same pattern) but haven't managed to find anything yet.
Differential Revision: https://reviews.llvm.org/D57169
llvm-svn: 352288
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp')
0 files changed, 0 insertions, 0 deletions