[llvm-dev] TargetOpcode::KILL confusion

Johnson, Nicholas Paul via llvm-dev llvm-dev at lists.llvm.org
Thu Mar 22 08:20:04 PDT 2018


Hello,


Could someone please explain the semantics of TargetOpcode::KILL?  Specifically, in this example, which register is killed?  Would it be legal for operands 0 and 1 to refer to different registers?


128B    %R3<def> = KILL %R3, %R3_1<imp-use>, %R3_23<imp-use>


(In my out-of-tree target, %R3 is a <4xi32> register, %R3_1 is an i32 sub-register of %R3, and %R3_23 is a <2xi32> sub-register of %R3).


Thanks,

Nick


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180322/0267f9a4/attachment.html>


More information about the llvm-dev mailing list