llvm-project
4d2ae88d - [InstCombine] Fix invalid scalarization of div

Commit
1 year ago
[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.
Author
Committer
Parents
Loading