Dimitry Andric 762496516b Pull in r165377 from upstream llvm trunk:
X86: fcmov doesn't handle all possible EFLAGS, fall back to a branch
  for the others.

  Otherwise it will try to use SSE patterns and fail horribly if sse is
  disabled.

  Fixes PR14035.

This should fix the following assertion failure:

  Assertion failed: (Reg >= X86::FP0 && Reg <= X86::FP6 && "Expected FP
  register!"), function getFPReg, file
  contrib/llvm/lib/Target/X86/X86FloatingPoint.cpp, line 330.

which can show up when compiling contrib/compiler-rt, using -march=i686
through -march=pentium3 (CPU's which do support fcmov, but don't support
SSE2).

MFC after:	1 week
2012-10-30 22:09:53 +00:00
..
2012-10-10 19:47:52 +00:00
2012-10-25 23:18:05 +00:00
2012-09-14 21:17:53 +00:00
2012-08-08 09:42:44 +00:00
2011-12-13 17:34:47 +00:00
2012-09-22 17:47:37 +00:00
2012-07-24 01:09:11 +00:00
2012-10-05 18:42:50 +00:00
2012-10-22 18:56:31 +00:00
2012-03-12 01:06:29 +00:00
2012-10-05 20:19:28 +00:00
2012-02-22 03:36:15 +00:00
2011-12-08 02:40:46 +00:00