Issue 139050
Summary Missing masked loop vectorization due to optimization in InstrCombine
Labels new issue
Assignees
Reporter thevar1able
    Loop vectorization that worked on `clang-19` stopped on `clang-20`.

Minimal repro:
https://godbolt.org/z/Yd4KjG9Yo
https://godbolt.org/z/cP5jeeo5Y

I bisected the regression to [this PR](https://github.com/llvm/llvm-project/pull/116073). Looks like wrapping inside `select(...)` confuses LoopVectorizer.

Backreference: https://github.com/ClickHouse/ClickHouse/pull/77352#issuecomment-2852255156
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to