search for: decomposevectors

Displaying 3 results from an estimated 3 matches for "decomposevectors".

2013 Oct 25
0
[LLVMdev] Is there pass to break down <4 x float> to scalars
...he optimisation above. So I wanted to make sure that the TBAA information is kept around: http://llvm-reviews.chandlerc.com/D1894 It was just that if I had a choice of only getting one of the two patches in, it'd definitely be the D1894 one. It sounds like there's more interest in the DecomposeVectors patch than I'd expected though, so I'll get back to it. Maybe as a first cut we can have a TargetTransformInfo hook to enable or disable the pass wholesale, with a command-line option to override it. Thanks to you an Renato for the feedback. Richard
2013 Oct 25
3
[LLVMdev] Is there pass to break down <4 x float> to scalars
Hi, Richard, I think we are solving a same problem. I am working on shader language too. I am not satisfied with current binaries because vector operations are kept in llvm opt. glsl shader language has an operation called "swizzle". It can select sub-components of a vector. If a shader only takes components "xy" for a vec4. it's certainly wasteful to generate 4
2013 Oct 30
2
[LLVMdev] Is there pass to break down <4 x float> to scalars
...ed to make sure that the TBAA information is kept around: > > http://llvm-reviews.chandlerc.com/D1894 > > It was just that if I had a choice of only getting one of the two patches > in, > it'd definitely be the D1894 one. It sounds like there's more interest in > the DecomposeVectors patch than I'd expected though, so I'll get back to > it. > > Maybe as a first cut we can have a TargetTransformInfo hook to enable or > disable the pass wholesale, with a command-line option to override it. > > Thanks to you an Renato for the feedback. > > Richard &...