[X86] Add function isPrefix()
authorShengchen Kan <shengchen.kan@intel.com>
Sun, 19 Jan 2020 06:28:21 +0000 (14:28 +0800)
committerShengchen Kan <shengchen.kan@intel.com>
Thu, 30 Jan 2020 06:11:50 +0000 (14:11 +0800)
commiteb054577e9dd18dc99cc757307c1218b8e321a43
tree11ac2c70434c8c3cfb2704d2df9fd6ec3d42e535
parent0e67212416f6f27b9a6270a73cf95e71cabef524
[X86] Add function isPrefix()

Currently some prefixes are emitted as instructions, to distinguish them
from real instruction, fuction isPrefix() is added. The kinds of prefix
are consistent with X86GenInstrInfo.inc.

Differential Revision: https://reviews.llvm.org/D73013
llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h