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

Anton Korobeynikov anton at korobeynikov.info
Mon Aug 3 23:44:41 PDT 2009


Hello, Jakob

> No, copyRegToReg inserts both instructions. It cannot do the move in
> just one instruction.
Why don't use a pseudo instruction for now? I found it's the only way
to go when one wants, e.g. to copy regpairs via 2 reg-reg moves. Too
many code assumes that the last instruction being inserted is a 'real
move' and all others are just some unimportant stuff.

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



More information about the llvm-commits mailing list