Skip to content
Commit 0dbc4658 authored by Craig Topper's avatar Craig Topper
Browse files

[X86] Handle splats in LowerBUILD_VECTORvXi1 by directly emitting scalar...

[X86] Handle splats in LowerBUILD_VECTORvXi1 by directly emitting scalar selects instead of deferring that to LowerSELECT.

LoweSELECT will detect the constant inputs and convert to scalar
selects, but we can do it directly here.

I might remove some of the code from LowerSELECT and move it to
DAG combine so doing this explicitly will make us less dependent
on it happening in lowering.
parent 048239e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment