[LLVMdev] Is using lots of in-register values in IR bad?
David A. Greene
greened at obbligato.org
Fri Jul 29 06:45:22 PDT 2011
Erkki Lindpere <villane at gmail.com> writes:
> Ah, ok. I didn't notice before that x86 SSE actually has vector
> reductions, but I looked it up now and indeed it does. I guess I
> could introduce some target-specific codegen, then. Because at the
> moment I'm only using x86 anyway and in the future I may want to delay
> the code generation to install time.
You could introduce a target-neutral reduction intrinsic and then
implement it for targets you care about. That might be a good midway
More information about the llvm-dev