[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)
commit1285b3130b103711fb6e65beeb5d4bcd1a26b433
treee829a91134aa397b3df944a9aca3f84bfb90f459
parent388704618eb783806077fe53c7fa1126d25ff897
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212608 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/Mips32r6InstrInfo.td
lib/Target/Mips/Mips64r6InstrInfo.td
test/CodeGen/Mips/cmov.ll
test/CodeGen/Mips/countleading.ll
test/CodeGen/Mips/mips64-f128.ll
test/CodeGen/Mips/select.ll