[llvm] [WIP][CodeGen] Encode liveness for COPY instructions after virtRegRewriter pass. (PR #151123)

Vikash Gupta via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 3 23:39:24 PDT 2025


================
@@ -1323,7 +1323,7 @@ def REG_SEQUENCE : StandardPseudoInstruction {
 }
 def COPY : StandardPseudoInstruction {
   let OutOperandList = (outs unknown:$dst);
-  let InOperandList = (ins unknown:$src);
+  let InOperandList = (ins unknown:$src, variable_ops);
----------------
vg0204 wrote:

Its just for the experimentation purpose, as didn't know exactly where to encode the liveness info as laneMask while working on it! Will go with your suggestion for MO_laneMask now!


https://github.com/llvm/llvm-project/pull/151123


More information about the llvm-commits mailing list