]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Pull in r148240 from upstream llvm trunk:
authordim <dim@FreeBSD.org>
Fri, 20 Jan 2012 19:18:11 +0000 (19:18 +0000)
committerdim <dim@FreeBSD.org>
Fri, 20 Jan 2012 19:18:11 +0000 (19:18 +0000)
commitd337cd8b79286df5494262294a0d9559f789b64e
tree1b0685cf17992cd077accdef28092dab5fc50ff2
parent6aecdb4cd57cadd8365b973c0a3d819d09f66da4
Pull in r148240 from upstream llvm trunk:

  Make sure the non-SSE lowering for fences correctly clobbers EFLAGS.
  PR11768.

In particular, this fixes segfaults during the build of devel/icu on
i386.  The __sync_synchronize() builtin used for implementing icu's
internal barrier could lead to incorrect behaviour.

MFC after: 3 days
contrib/llvm/lib/Target/X86/X86InstrCompiler.td