[mips] Fix assertion on i128 addition/subtraction on MIPS64
authorDaniel Sanders <daniel.sanders@imgtec.com>
Sat, 24 Jan 2015 12:58:10 +0000 (12:58 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Sat, 24 Jan 2015 12:58:10 +0000 (12:58 +0000)
commit5a9225b262c91fcaec213cdaa224f487cd8a5ab7
tree21a59ee17cba2cc722e020f0396e3d56d1ad06c2
parent8381475a7511c17e046bf25b53185a4d109df467
[mips] Fix assertion on i128 addition/subtraction on MIPS64

Summary:
In addition to the included tests, this fixes
test/CodeGen/Generic/i128-addsub.ll on a mips64 host.

Reviewers: atanasyan, sagar, vmedic

Reviewed By: vmedic

Subscribers: sdkie, llvm-commits

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

llvm-svn: 227003
llvm/lib/Target/Mips/Mips64InstrInfo.td
llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
llvm/test/CodeGen/Mips/llvm-ir/add.ll [new file with mode: 0644]
llvm/test/CodeGen/Mips/llvm-ir/sub.ll [new file with mode: 0644]