diff options
author | David Green <david.green@arm.com> | 2022-02-02 13:48:16 +0000 |
---|---|---|
committer | David Green <david.green@arm.com> | 2022-02-02 13:48:16 +0000 |
commit | 0cd8063960259903b5bbb0accc3259accdb1bd6c (patch) | |
tree | 46fca542c5b14ffd915addfc2b53710a33e1dd59 /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | |
parent | 8af8119177411286f5c04022e98afe69383d4181 (diff) | |
download | llvm-0cd8063960259903b5bbb0accc3259accdb1bd6c.zip llvm-0cd8063960259903b5bbb0accc3259accdb1bd6c.tar.gz llvm-0cd8063960259903b5bbb0accc3259accdb1bd6c.tar.bz2 |
[AArch64] Genereate CCMP from And CSel
LLVM has a couple of ways of producing ccmp - either from chains in isel
or from a later ifcvt style pass. This adds a simple DAG combine to
capture more cases, converting and(csel(0, 1, cc0), csel(0, 1, cc1))
into a csel(ccmp(.., cc0)), depending on cc1 (a SUBS in this case).
Differential Revision: https://reviews.llvm.org/D118327
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
0 files changed, 0 insertions, 0 deletions