[LLVMdev] Functions: sret and readnone

Stephan stephan.reiter at gmail.com
Tue Oct 6 00:00:21 PDT 2009


On 5 Okt., 23:33, Dan Gohman <goh... at apple.com> wrote:
>
> Is there a reason it needs to be an array? A vector of four floats
> wouldn't have this problem, if that's an option.
>

Unfortunately that's not an option. At the moment I'm restricting
myself to the use of scalar code only, in order to be able to
vectorize the code easily later (e.g., float4 as it is now will then
become an array of four vectors for parallel processing of n (probably
4, SSE) pixels). But thanks for coming up with this idea!

Chris, I'll take a look at the AliasAnalysis functionality. Depending
on how much effort it is to implement a solution I might follow this
approach. If not, there's still Kenneth's new code generator to look
forward to. :)

Thanks,
Stephan



More information about the llvm-dev mailing list