summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/2007-05-08-PCH.c
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-08-19 04:26:31 +0000
committerCraig Topper <craig.topper@intel.com>2018-08-19 04:26:31 +0000
commit803912ea5709b9f6d72d8e9ba74502a7d261abbd (patch)
tree912269e7f150d7ebbfd59d3a134a61530d7db070 /clang/test/CodeGen/2007-05-08-PCH.c
parenta85d7e927b5d97648f0ce6b64b3c0e179b27ee1e (diff)
downloadbcm5719-llvm-803912ea5709b9f6d72d8e9ba74502a7d261abbd.tar.gz
bcm5719-llvm-803912ea5709b9f6d72d8e9ba74502a7d261abbd.zip
[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/test/CodeGen/2007-05-08-PCH.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud