]> granicus.if.org Git - llvm/commit
Merging r323469:
authorHans Wennborg <hans@hanshq.net>
Tue, 30 Jan 2018 15:22:31 +0000 (15:22 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 30 Jan 2018 15:22:31 +0000 (15:22 +0000)
commit8a0e312d1af7d9556d93264aa3fa963486ab6d11
tree3e5d24cc69ae4cfe9109b2b66446dcd54948c59f
parentf48ff4c85ec91f7ba5eaa724079542a2016e55b2
Merging r323469:
------------------------------------------------------------------------
r323469 | ctopper | 2018-01-25 22:23:57 +0100 (Thu, 25 Jan 2018) | 3 lines

[X86] Teach Intel syntax InstPrinter to print lock prefixes that have been parsed from the asm parser.

The asm parser puts the lock prefix in the MCInst flags so we need to check that in addition to TSFlags. This matches what the ATT printer does.
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_60@323770 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp
test/MC/X86/x86-32-coverage.s