aboutsummaryrefslogtreecommitdiff
path: root/polly
diff options
context:
space:
mode:
authorBenjamin Maxwell <benjamin.maxwell@arm.com>2022-11-25 09:57:08 +0000
committerBenjamin Maxwell <benjamin.maxwell@arm.com>2022-11-25 10:15:14 +0000
commit79b5829a155f256001ead535c358a1193cd0cbe8 (patch)
tree91f13e80ca56974529049f7e0956199f70347053 /polly
parentb89e0acb5ef3458f4717138234453731a963388e (diff)
downloadllvm-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