Open
Description
Moving ISPC from LLVM 18 to LLVM 20, I have encountered performance regression for a few of our benchmarks for ISPC target avx2 (corresponds to -mcpu=haswell
). It seems to be caused by #122601. It is around ~20-25%, as measured on Intel CPUs i9-12900 and 8360Y.
Compiler explorer link: https://godbolt.org/z/qx8s6K6br