[LLVMdev] IMPLICIT_DEF?

Jonas Paulsson jnspaulsson at hotmail.com
Thu Apr 7 06:48:47 PDT 2011


Hi,
 
I have a MachineInstr that writes to a subreg, but clobbers the superreg.
 
How should I BuildMI this instruction?
 
I try to do a 
 
IMPLICIT_DEF super_reg
and then write to a subreg of that super register
 
, but it gets DCE:ed.
 
Is there a way to express this clobbering of a superregister?
 
thanks,
 
Jonas
  		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110407/b0ff13bd/attachment.html>


More information about the llvm-dev mailing list