diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-03-19 21:09:43 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-03-20 09:14:21 +0000 |
commit | 1ae3c4e948f884b36a7b1257ca94c665015744ca (patch) | |
tree | cc7652b84761525163a4e567e53141cca2d0a733 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | e58dadf3e2c160d0c405aafd807d8305c5a92c4a (diff) | |
download | llvm-1ae3c4e948f884b36a7b1257ca94c665015744ca.zip llvm-1ae3c4e948f884b36a7b1257ca94c665015744ca.tar.gz llvm-1ae3c4e948f884b36a7b1257ca94c665015744ca.tar.bz2 |
[X86] combineAddOrSubToADCOrSBB - split to more cleanly handle commuted variants.
Split combineAddOrSubToADCOrSBB into wrapper (which handles ADDs with commuted args) and the real combine, which no longer has to account for commutation.
I'm intending to extend combineAddOrSubToADCOrSBB to detect patterns other than just X86ISD::SETCC, so we need to detect all patterns without detecting them as part of a commutation swap.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions