]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Pull in r191711 from upstream llvm trunk:
authordim <dim@FreeBSD.org>
Tue, 1 Oct 2013 19:14:24 +0000 (19:14 +0000)
committerdim <dim@FreeBSD.org>
Tue, 1 Oct 2013 19:14:24 +0000 (19:14 +0000)
commitc637526317adafce2838292024d3dc0ea0c7f4ce
tree5e0d72bb2e3ef0c46a3242c9fee531883c94bb39
parent3f9b2596429813d2d1d8d1b5805610f7d711624c
Pull in r191711 from upstream llvm trunk:

  The X86FixupLEAs pass for Intel Atom must not call
  convertToThreeAddress on ADD16rr opcodes, if src1 != src, since that
  would cause convertToThreeAddress to try to create a virtual register.
  This is not permitted after register allocation, which is when the
  X86FixupLEAs pass runs.

  This patch fixes PR16785.

Pull in r191715 from upstream llvm trunk:

  Forgot to add a break statement.

This should enable building the x11-toolskits/libXaw port with
CPUTYPE=atom.

Approved by: re (gjb)
Reported by: Kenta Suzumoto <kentas@hush.com>
MFC after: 3 days
contrib/llvm/lib/Target/X86/X86FixupLEAs.cpp