[PATCH] D149833: [X86][AsmParser] Omit predicate In64BitMode for instructions w/ GP64 operand in X86InstrArithmetic.td, NFCI

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 6 09:31:03 PDT 2023


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp:4193
+    bool HasImplicitIn64BitMode =
+        (TSFlags & X86II::REX_W) && !(TSFlags & X86II::EncodingMask);
+    if (!is64BitMode() && HasImplicitIn64BitMode)
----------------
The issue also appears on the VEX and EVEX encoded memory form of vextractps.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149833/new/

https://reviews.llvm.org/D149833



More information about the llvm-commits mailing list