Files
clang-p2996/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
Nikita Popov 4d2ae88d16 [InstCombine] Fix invalid scalarization of div
If the binop is not speculatable, and the extract index is out of
range, then scalarizing will perform the operation on a poison
operand, resulting in immediate UB, instead of the previous
poison result.

Fixes https://github.com/llvm/llvm-project/issues/97053.
2024-07-03 11:05:33 +02:00

128 KiB