[llvm] [LV] Fix miscompile with conditional scalar assignment + tail folding (PR #182492)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 12 11:55:43 PDT 2026


fhahn wrote:

> > > -O3 -march=armv8-a+sve -mllvm -prefer-predicate-over-epilogue=predicate-dont-vectorize.
> > 
> > 
> > Would probably be good if one of the SVE bots could also run test-suite with that config
> 
> A short-term fix may be to force tail-folding for some CSA tests in the test-suite. Can the something like the `vectorize_predicate(enable)` pragma do that?

It looks like it is possible to add additional targets with forced options, so something like https://github.com/llvm/llvm-test-suite/pull/368 should cover multiple options. I don't think I was able to reproduce the failure here I think though

https://github.com/llvm/llvm-project/pull/182492


More information about the llvm-commits mailing list