]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Pull in r300429 from upstream llvm trunk (by Benjamin Kramer):
authordim <dim@FreeBSD.org>
Tue, 18 Apr 2017 07:02:12 +0000 (07:02 +0000)
committerdim <dim@FreeBSD.org>
Tue, 18 Apr 2017 07:02:12 +0000 (07:02 +0000)
commit6b59de42d2b40badb1fdc551306e3f00e0d8b790
tree4bb745525aeeeefcbc2382f6edb5e5431e936d4d
parent5e2dc7eefa4ad912dcc84b3caf24032cdb2e4b73
Pull in r300429 from upstream llvm trunk (by Benjamin Kramer):

  [X86] Remove special handling for 16 bit for A asm constraints.

  Our 16 bit support is assembler-only + the terrible hack that is
  .code16gcc. Simply using 32 bit registers does the right thing for
  the latter.

  Fixes PR32681.

This fixes some cases of assembling 16 bit code (i.e. SeaBIOS) that uses
the 'A' inline asm constraint, after r316989.

MFC after: 3 days
X-MFC-With: r316989
contrib/llvm/lib/Target/X86/X86ISelLowering.cpp
contrib/llvm/lib/Target/X86/X86RegisterInfo.td