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

via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 00:00:15 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);
----------------
XinWang10 wrote:

Good catch! Let me check and add tests.

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


More information about the llvm-commits mailing list