diff options
author | Craig Topper <craig.topper@intel.com> | 2018-08-19 04:26:31 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-08-19 04:26:31 +0000 |
commit | 803912ea5709b9f6d72d8e9ba74502a7d261abbd (patch) | |
tree | 912269e7f150d7ebbfd59d3a134a61530d7db070 /clang/lib/Serialization/ModuleManager.cpp | |
parent | a85d7e927b5d97648f0ce6b64b3c0e179b27ee1e (diff) | |
download | llvm-803912ea5709b9f6d72d8e9ba74502a7d261abbd.zip llvm-803912ea5709b9f6d72d8e9ba74502a7d261abbd.tar.gz llvm-803912ea5709b9f6d72d8e9ba74502a7d261abbd.tar.bz2 |
[X86] Fix an issue in the matching for ADDUS.
We were basically assuming only one operand of the compare could be an ADD node and using that to swap operands. But we can have a normal add followed by a saturing add.
This rewrites the canonicalization to just be based on the condition code.
llvm-svn: 340134
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions