[llvm-commits] [llvm] r86303 - in /llvm/trunk: lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp test/CodeGen/ARM/2009-11-07-SubRegAsmPrinting.ll

Anton Korobeynikov asl at math.spbu.ru
Fri Nov 6 16:37:38 PST 2009


Hello, Jakob

> I thought that the SubReg field was only to be used with virtual
> registers?
I also thought so initially, but it seems, not

> Is this perhaps a bug in an earlier stage?
Maybe, originally we have something like this:

reg1 = imp_def
reg2 = fconsts fp-imm
reg1 = insert_subreg reg1, reg2, idx

basically, the other part will always be undef here

this is later turned into something like

reg1:idx = fconsts fp-imm

and passed until the late end.


-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list