Skip to content
Unverified Commit 12d93a27 authored by Roman Lebedev's avatar Roman Lebedev
Browse files

[InstCombine] Sanitize undef vector constant to 1 in X*(2^C) with X << C (PR47133)

While x*undef is undef, shift-by-undef is poison,
which we must avoid introducing.

Also log2(iN undef) is *NOT* iN undef, because log2(iN undef) u< N.

See https://bugs.llvm.org/show_bug.cgi?id=47133
parent c561f4d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment