Dimitry Andric 5d2c81d91b Pull in r329771 from upstream llvm trunk (by Craig Topper):
[X86] In X86FlagsCopyLowering, when rewriting a memory setcc we need
  to emit an explicit MOV8mr instruction.

  Previously the code only knew how to handle setcc to a register.

  This should fix a crash in the chromium build.

This fixes various assertion failures while building ports targeting
i386:
* www/firefox: isReg() && "This is not a register operand!"
* www/iridium, www/qt5-webengine: (I.atEnd() || std::next(I) ==
  def_instr_end()) && "getVRegDef assumes a single definition or no
  definition"
* devel/powerpc64-gcc: FromReg != ToReg && "Cannot replace a reg with
  itself"

Reported by:	jbeich
PR:		225330, 227686, 227698, 227699
MFC after:	1 week
X-MFC-With:	r332833
2018-04-23 23:07:57 +00:00
..
2018-04-14 21:54:22 +00:00
2018-03-02 01:53:50 +00:00
2017-05-31 19:37:23 +00:00
2017-09-17 19:14:38 +00:00
2018-02-19 05:10:22 +00:00
2018-01-24 14:24:17 +00:00
2017-07-03 19:49:25 +00:00
2017-08-03 15:47:42 +00:00
2018-03-02 23:31:55 +00:00
2018-02-28 07:59:55 +00:00
2017-05-23 09:29:05 +00:00
2018-01-28 03:16:54 +00:00
2017-06-28 09:22:45 +00:00
2017-12-06 02:21:11 +00:00
2018-04-18 13:17:14 +00:00
2018-03-24 04:52:29 +00:00
2017-06-03 02:42:49 +00:00
2017-09-10 01:25:15 +00:00