[llvm] [X86] Support promoted ENQCMD and USER-MSR instructions (PR #77293)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 8 05:06:59 PST 2024


================
@@ -1523,31 +1523,51 @@ def MOVDIR64B64_EVEX : I<0xF8, MRMSrcMem, (outs), (ins GR64:$dst, i512mem_GR64:$
 // ENQCMD/S - Enqueue 64-byte command as user with 64-byte write atomicity
 //
 let SchedRW = [WriteStore], Defs = [EFLAGS] in {
-  def ENQCMD16 : I<0xF8, MRMSrcMem, (outs), (ins GR16:$dst, i512mem:$src),
+  def ENQCMD16 : I<0xF8, MRMSrcMem, (outs), (ins GR16:$dst, i512mem_GR16:$src),
----------------
phoebewang wrote:

Why do we need to change it?

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


More information about the llvm-commits mailing list