[PATCH] D72047: Add an interface emitPrefix for MCCodeEmitter

Kan Shengchen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 31 21:12:53 PST 2019


skan created this revision.
skan added reviewers: craig.topper, LuoYuanke, annita.zhang, tianqing.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

We need to emit the prefixes of instructions only in some condition,  so the code of emtting prefixes is extracted out from the function `encodeInstruction`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72047

Files:
  llvm/include/llvm/MC/MCCodeEmitter.h
  llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72047.235743.patch
Type: text/x-patch
Size: 12659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200101/c6c88c84/attachment.bin>


More information about the llvm-commits mailing list