llvm-test-suite icon indicating copy to clipboard operation
llvm-test-suite copied to clipboard

[UnitTests] Add initial set of dedicated early-exit unit tests.

Open fhahn opened this issue 6 months ago • 0 comments

Adds initial unit tests for early-exit vectorization covering a variation of auto-vectorization and forced interleaving with pragmas.

The interleaving variant is currently mis-compiled and needs

  • https://github.com/llvm/llvm-project/pull/145340
  • https://github.com/llvm/llvm-project/pull/145394.

We should probably extend the tests to make sure we cover various other scenarios, including returning the loaded element for the early exit, different index types and array sizes.

fhahn avatar Jun 25 '25 11:06 fhahn