[mips][mips64r6] Correct select patterns that have the condition or true/false values...
authorDaniel Sanders <daniel.sanders@imgtec.com>
Wed, 9 Jul 2014 10:47:26 +0000 (10:47 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Wed, 9 Jul 2014 10:47:26 +0000 (10:47 +0000)
commite31155fd1a4dd4affd5903da52667386b4bdea6d
treebc4329d35044a6a0501bc50f1cf9d0f9ddce0f51
parentdc06718e0bbdec789620ab01e09730004e13f25e
[mips][mips64r6] Correct select patterns that have the condition or true/false values backwards

Summary: This bug caused SingleSource/Regression/C/uint64_to_float and SingleSource/UnitTests/2002-05-02-CastTest3 to fail (among others).

Differential Revision: http://reviews.llvm.org/D4388

llvm-svn: 212608
llvm/lib/Target/Mips/Mips32r6InstrInfo.td
llvm/lib/Target/Mips/Mips64r6InstrInfo.td
llvm/test/CodeGen/Mips/cmov.ll
llvm/test/CodeGen/Mips/countleading.ll
llvm/test/CodeGen/Mips/mips64-f128.ll
llvm/test/CodeGen/Mips/select.ll