[PATCH] D39546: Fix for Bug 34475 - LOCK/REP/REPNE prefixes emitted as instruction on their own

Andrew V. Tischenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 2 05:14:49 PDT 2017


avt77 created this revision.
Herald added a subscriber: eraman.

At the moment the decoder prints prefixes as if they are separate instructions but they should be prefixes only.


https://reviews.llvm.org/D39546

Files:
  lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
  lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp
  test/CodeGen/X86/inline-asm-A-constraint.ll
  test/Instrumentation/AddressSanitizer/X86/asm_rep_movs.ll
  test/MC/Disassembler/X86/prefixes-i386.txt
  test/MC/Disassembler/X86/prefixes-x86_64.txt
  test/MC/Disassembler/X86/prefixes.txt
  test/MC/Disassembler/X86/simple-tests.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39546.121282.patch
Type: text/x-patch
Size: 11221 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171102/d1231ca6/attachment.bin>


More information about the llvm-commits mailing list