[X86] Add back the assert from r320830 that was reverted in r320850
authorCraig Topper <craig.topper@intel.com>
Sat, 16 Dec 2017 00:33:16 +0000 (00:33 +0000)
committerCraig Topper <craig.topper@intel.com>
Sat, 16 Dec 2017 00:33:16 +0000 (00:33 +0000)
commit6b129fde5a4ef4c308406dc0cbd35fb78b17f9ca
tree36976de7ee1c7d9115e2de7c1804e16637ecef6a
parent69b2de8466860e5e765bb64ebfda17defa0cfb37
[X86] Add back the assert from r320830 that was reverted in r320850

Hopefully r320864 has fixed the offending case that failed the assert.

llvm-svn: 320898
llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp