[llvm] [X86][MC] Teach disassembler to recognize apx instructions which ignores W bit (PR #82747)

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 21:44:13 PST 2024


================
@@ -967,6 +967,7 @@ class ITy<bits<8> o, Format f, X86TypeInfo t, dag outs, dag ins, string m,
       !strconcat(m, "{", t.InstrSuffix, "}\t", args), p>, NoCD8 {
   let hasSideEffects = 0;
   let hasREX_W  = t.HasREX_W;
+  let IgnoresW = !if(!eq(t.VT, i8), 1, 0);
----------------
KanRobert wrote:

Not understood. I think REX.W/REX2.W can not be ignored.

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


More information about the llvm-commits mailing list