[llvm-commits] [PATCH] More Spill Annotations

David Greene dag at cray.com
Wed Nov 25 07:08:34 PST 2009


On Wednesday 25 November 2009 07:27, Dan Gohman wrote:

> This raises the question of what you're actually aiming at here.  Does
> it really make sense to impose the Vector and Scalar dichotomy on an
> architecture like x86?

Yeah, I think so.  There are vector instructions and there are scalar
instructions.  We want to know when certain more expensive (i.e. vector)
things happen.  In this case, we want to have some idea of how much data
is being transferred with a spill.  Of course cache lines come into play
here but the vector/scalar categorization gives us an idea of how much of
that cache line we're actually touching.

What are you thinking about this.  What makes you nervous?

                                -Dave



More information about the llvm-commits mailing list