diff options
author | David Green <david.green@arm.com> | 2021-05-13 18:31:01 +0100 |
---|---|---|
committer | David Green <david.green@arm.com> | 2021-05-13 18:31:01 +0100 |
commit | 1011d4ed60d9d32d53e20cbe72e47c9eecb84f49 (patch) | |
tree | 70a62b07935a0e0b092354034f942a678b4a67a9 /llvm/lib/Support/TargetParser.cpp | |
parent | f93e9c12bf482dbfe3d4d00fcf8bbc251500dd99 (diff) | |
download | llvm-1011d4ed60d9d32d53e20cbe72e47c9eecb84f49.zip llvm-1011d4ed60d9d32d53e20cbe72e47c9eecb84f49.tar.gz llvm-1011d4ed60d9d32d53e20cbe72e47c9eecb84f49.tar.bz2 |
[ARM] Constrain CMPZ shift combine to a single use
We currently prefer t2CMPrs over t2CMPri when the node contains a shift.
This can introduce more nodes if the shift has multiple uses though, as
value from the shift will be needed anyway, and in the case of a t2CMPri
compared with zero will more readily be removed entirely.
Differential Revision: https://reviews.llvm.org/D101688
Diffstat (limited to 'llvm/lib/Support/TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions