[PATCH] D90009: [X86] VEX/EVEX prefix doesn't work for inline assembly.

LiuChen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 22 22:35:36 PDT 2020


LiuChen3 added inline comments.


================
Comment at: llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp:2824
         ForcedVEXEncoding = VEXEncoding_VEX;
+      else if (Prefix == "vex2")
+        ForcedVEXEncoding = VEXEncoding_VEX2;
----------------
pengfei wrote:
> I think it's reasonable if we generate "{vex}" for input "{vex2}"
GCC will out put {vex2} if the input is {vex2}.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90009



More information about the llvm-commits mailing list