diff options
author | Benjamin Maxwell <benjamin.maxwell@arm.com> | 2022-11-25 09:57:08 +0000 |
---|---|---|
committer | Benjamin Maxwell <benjamin.maxwell@arm.com> | 2022-11-25 10:15:14 +0000 |
commit | 79b5829a155f256001ead535c358a1193cd0cbe8 (patch) | |
tree | 91f13e80ca56974529049f7e0956199f70347053 /polly | |
parent | b89e0acb5ef3458f4717138234453731a963388e (diff) | |
download | llvm-79b5829a155f256001ead535c358a1193cd0cbe8.zip llvm-79b5829a155f256001ead535c358a1193cd0cbe8.tar.gz llvm-79b5829a155f256001ead535c358a1193cd0cbe8.tar.bz2 |
[TargetLowering][AArch64] Teach DemandedBits about SVE count intrinsics
This allows DemandedBits to see that the SVE count intrinsics (CNTB,
CNTH, CNTW, CNTD) sans multiplier will only ever produce small
positive integers. The maximum value you could get here is 256, which
is CNTB on a machine with a 2048bit vector size (the maximum for SVE).
Using this various redundant operations (zexts, sexts, ands, ors, etc)
can be eliminated.
Differential Revision: https://reviews.llvm.org/D138424
Diffstat (limited to 'polly')
0 files changed, 0 insertions, 0 deletions