Skip to content
Commit 6d527ef9 authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

Legalizer: Use the scalar bit width when promoting bit counting instrs on

vectors.

e.g. when promoting ctlz from <2 x i32> to <2 x i64> we have to fixup
the result by 32 bits, not 64. PR20917.

llvm-svn: 217671
parent 6afd1eb3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment