[llvm-commits] [PATCH] Accidental <kill> on two-address operand

Anton Korobeynikov anton at korobeynikov.info
Tue Aug 4 09:02:55 PDT 2009


Hello, Jakob

> LowerSubregInstructionsPass currently assumes that the source register
> is being used, and the destination register is being defined by the
> copyRegToReg instructions. It may also add implicit operands to the last
> instruction emitted - that may be a bit dubious come to think of it.
Yeah, that's not true for the code emitted for regpairs. E.g. on
systemz 64bit regpair is formed from low 32 bits of 2 consecutive
registers, so one 64 bit move should be turned into 2 32 bit moves...

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



More information about the llvm-commits mailing list