Files
Daniel Sanders 40c245c775 Merging r251622:
------------------------------------------------------------------------
r251622 | vkalintiris | 2015-10-29 10:17:16 +0000 (Thu, 29 Oct 2015) | 17 lines

[mips] Check the register class before replacing materializations of zero with $zero in microMIPS.

Summary:
The microMIPS register class GPRMM16 does not contain the $zero register.
However, MipsSEDAGToDAGISel::replaceUsesWithZeroReg() would replace uses
of the $dst register:

  [d]addiu, $dst, $zero, 0

with the $zero register, without checking for membership in the register
class of the target machine operand.

Reviewers: dsanders

Subscribers: llvm-commits, dsanders

Differential Revision: http://reviews.llvm.org/D13984
------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_37@252158 91177308-0d34-0410-b5e6-96231b3b80d8
2015-11-05 13:30:33 +00:00
..
2015-06-19 01:53:21 +00:00
2015-07-30 16:18:53 +00:00
2015-09-14 10:40:55 +00:00
2011-09-09 23:14:58 +00:00
2013-12-07 02:48:29 +00:00
2012-05-12 03:25:16 +00:00
2015-04-13 18:47:19 +00:00
2015-08-05 18:46:46 +00:00
2011-09-09 23:14:58 +00:00
2012-03-29 18:43:11 +00:00
2011-12-19 20:24:28 +00:00
2015-11-05 13:30:33 +00:00
2012-06-27 00:40:34 +00:00
2013-07-26 20:58:55 +00:00