llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
27.92k stars 11.53k forks source link

[llvm-opt-report] Incorrectly indicate vector length #99443

Open vfdff opened 1 month ago

vfdff commented 1 month ago
fhahn commented 1 month ago

@vfdff do you know if this works as expected for fixed-width vector factors (i.e. when dropping +sve?) . the vector factor for the loop with +sve should be vscale x 2, it is possible that the tool doesn't parse scalable VFs properly

vfdff commented 1 month ago

Yes, it works fine for fixed-width vector factors. so it looks like your guess is correct.