diff options
author | chenglin.bi <chenglin.bi@linaro.org> | 2022-10-14 21:40:55 +0800 |
---|---|---|
committer | chenglin.bi <chenglin.bi@linaro.org> | 2022-10-14 21:41:25 +0800 |
commit | 85e41fcaacc88b7f9e1d3ad27545d5c6edcbacef (patch) | |
tree | 00a714936433e2a4edd5cf10312db940449ac882 /clang/unittests/Frontend/CompilerInvocationTest.cpp | |
parent | 6d252a48884f12bd5f48764e3b25e1dfb81f00cd (diff) | |
download | llvm-85e41fcaacc88b7f9e1d3ad27545d5c6edcbacef.zip llvm-85e41fcaacc88b7f9e1d3ad27545d5c6edcbacef.tar.gz llvm-85e41fcaacc88b7f9e1d3ad27545d5c6edcbacef.tar.bz2 |
[AArch64] Select to CCMN when the CCMP's second operator is negative constant
CCMP/CCMN's second operator support const from 0 to 31. When the CCMP's second operator is in the range [-31, -1] we can replace it with CCMN to avoid extra mov.
Fix: #57034
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D135939
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions