<div dir="ltr">Hi, LLVM community, <div><br></div><div style>I write some code in hand using LLVM IR. for simplicity, I write them in <4 x float>. now I found some stores for elements are useless. </div><div style><br>
</div><div style>for example, If I store {0.0, 1.0, 2.0, 3.0} to a <4 x float> %a. maybe only %a.xy is alive in my program.  our target doesn't feature SIMD instruction, which means we have to lower vector to many  scalar instructions. I found llvm doesn't have DSE in codegen , right? </div>
<div style><br></div><div style><br></div><div style>Is there a pass which can break down vector operation to scalars?<br><br></div><div style><br></div><div style>thanks,</div><div style>--lx</div><div style><br></div></div>