[llvm] [CodeGen] Add MO_LaneMask type and a new COPY_LANEMASK instruction (PR #151944)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 15 02:50:33 PDT 2025
================
@@ -114,6 +114,11 @@ HANDLE_TARGET_OPCODE(REG_SEQUENCE)
/// used to copy between subregisters of virtual registers.
HANDLE_TARGET_OPCODE(COPY)
+/// COPY_LANEMASK - Target-independent register copy for active mask in
+/// register as represented by the lanemask. This instruction cannot be
+/// only used to copy from the subregisters of virtual registers.
----------------
jayfoad wrote:
What does the "cannot be only used" part mean? Please clarify.
https://github.com/llvm/llvm-project/pull/151944
More information about the llvm-commits
mailing list