aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/GlobalMerge.cpp
diff options
context:
space:
mode:
authorLou <lou.knauer@sipearl.com>2025-01-24 15:08:14 +0100
committerGitHub <noreply@github.com>2025-01-24 15:08:14 +0100
commit970094d50b08e694c2302f7ee39b1c33d08f2405 (patch)
tree02a60fb4706b502ccc0848ef74dbdaf7a3715435 /llvm/lib/CodeGen/GlobalMerge.cpp
parent11b040192640ef3b1f481124c440f464ed6ec86a (diff)
downloadllvm-970094d50b08e694c2302f7ee39b1c33d08f2405.zip
llvm-970094d50b08e694c2302f7ee39b1c33d08f2405.tar.gz
llvm-970094d50b08e694c2302f7ee39b1c33d08f2405.tar.bz2
[llvm-opt-report] Show scalable vectorization factors (#123367)
Scalable vectorization factors are printed as "vscale x VF" where VF is the known minimum number of elements, a integer. Currently, llvm-opt-report always expects a integer (like for vectorization with fixed-sized vectors), and does not display any vectorization factor in the output (just 'V', but without a number). This patch adds support for scalable vectorization factors and prints them as "VNx<VF>", so for example "VNx4". The "Nx" is used to differentiate between fixed-sized and scalable factors, and is consistent with the way LLVM mangles scalable vectors in other places.
Diffstat (limited to 'llvm/lib/CodeGen/GlobalMerge.cpp')
0 files changed, 0 insertions, 0 deletions