[llvm-commits] [patch] Mostly mechanical removal of getPhysicalRegisterRegClass.patch

Anton Korobeynikov asl at math.spbu.ru
Tue Jun 29 07:54:26 PDT 2010


Hello, Jakob

> This is a little worrying, but probably not your fault.
Yes. This somehow seems to be a fallout from subreg indices unification.

Basically, the problem is that currently we can easily have
cross-domain switches while walking via subregs.
Look, for example, into DPR_VFP2 regclass. This class is used for NEON
code and thus all the stuff operates inside the NEON domain. It should
not contain any SPR subregs since there are no 32-bit reg-reg moves in
NEON (think about the core with VFP disabled, but not NEON).

In fact, this was the only reason why this regclass does exist - to
restrict the set of regs used for certain neon instructions.
-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list