OSDN Git Service

Print "lock \t foo" instead of "lock \n foo".
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 26 May 2015 18:35:10 +0000 (18:35 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 26 May 2015 18:35:10 +0000 (18:35 +0000)
commit890a876e0e16cf3b6cbcd69ebdfc75608fbc2537
tree67adf4b30df638b3b2521b97791ce06556da732b
parent176d1faf6a9f8671d2cf78dcc5570f6158d2307f
Print "lock \t foo" instead of "lock \n foo".

This gets gas and llc -filetype=obj to agree on the order of prefixes.

For llvm-mc we need to fix the asm parser to know that it makes a difference
on which line the "lock" is in.

Part of pr23594.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238232 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
test/CodeGen/X86/2009-10-19-atomic-cmp-eflags.ll
test/CodeGen/X86/2010-01-08-Atomic64Bug.ll
test/CodeGen/X86/2010-10-08-cmpxchg8b.ll
test/CodeGen/X86/2012-01-16-mfence-nosse-flags.ll
test/CodeGen/X86/atomic-load-store-wide.ll
test/CodeGen/X86/atomic-minmax-i6432.ll
test/CodeGen/X86/atomic-or.ll
test/CodeGen/X86/cmpxchg16b.ll
test/CodeGen/X86/i486-fence-loop.ll
test/CodeGen/X86/pr21099.ll
test/CodeGen/X86/pr5145.ll