[llvm-commits] [llvm] r108735 - in /llvm/trunk: include/llvm/Target/TargetLowering.h lib/CodeGen/SelectionDAG/TargetLowering.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon Jul 19 12:59:05 PDT 2010

On Jul 19, 2010, at 11:47 AM, Evan Cheng wrote:

> Author: evancheng
> Date: Mon Jul 19 13:47:01 2010
> New Revision: 108735
> URL: http://llvm.org/viewvc/llvm-project?rev=108735&view=rev
> Log:
> Teach computeRegisterProperties() to compute "representative" register class for legal value types. A "representative" register class is the largest legal super-reg register class for a value type. e.g. On i386, GR32 is the rep register class for i8 / i16 / i32; on x86_64 it would be GR64.
> This property will be used by the register pressure tracking instruction scheduler.

Hi Evan,

This looks a lot like you have x86 in mind.

What is getRepRegClassFor(f32) going to return on ARM? QQQQ?

How are you planning to deal with registers with more than one usable subregister?


More information about the llvm-commits mailing list