diff options
author | Benjamin Maxwell <benjamin.maxwell@arm.com> | 2022-12-12 16:26:20 +0000 |
---|---|---|
committer | Benjamin Maxwell <benjamin.maxwell@arm.com> | 2022-12-14 15:49:08 +0000 |
commit | c165b0553a96394b9bbf3984782703cdae99821d (patch) | |
tree | 9403d7560d2ff546f00b756ae5ae1899b80a5f1e /llvm/tools/llvm-readobj/llvm-readobj.cpp | |
parent | 63efc58c5a5de0b6e8f4bec3e692cf75753691e8 (diff) | |
download | llvm-c165b0553a96394b9bbf3984782703cdae99821d.zip llvm-c165b0553a96394b9bbf3984782703cdae99821d.tar.gz llvm-c165b0553a96394b9bbf3984782703cdae99821d.tar.bz2 |
[TargetLowering] Teach DemandedBits about VSCALE
This allows DemandedBits to see the result of VSCALE will be at most
VScaleMax * some compile-time constant. This relies on the vscale_range()
attribute being present on the function, with a max set. (This is done by
default when clang is targeting AArch64+SVE).
Using this various redundant operations (zexts, sexts, ands, ors, etc)
can be eliminated.
Differential Revision: https://reviews.llvm.org/D138508
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions