Commit ac3f6899 authored by Antonio Frighetto's avatar Antonio Frighetto
Browse files

[InstCombine] Do not assume scalar types in `select`/`zext`

Do not assume scalar types when folding binops of `select`
operations and `zext`/`sext` of their condition.

Reported-by: Benjins, dyung

Proofs: https://alive2.llvm.org/ce/z/GmDLns
parent bfec706c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment