[mips][msa] Float vector constants cannot use ldi.[wd] directly. Bitcast from the...
authorDaniel Sanders <daniel.sanders@imgtec.com>
Fri, 22 Nov 2013 11:24:50 +0000 (11:24 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Fri, 22 Nov 2013 11:24:50 +0000 (11:24 +0000)
commit8dc7f94f4db4cdf2cb6566490908440a58dac19a
tree1893ddc10aaa27ea06aa326882bd806cc637f003
parenta7e8d6581f93151291a8365a32cb9b55587764da
[mips][msa] Float vector constants cannot use ldi.[wd] directly. Bitcast from the appropriate integer vector type.

Fixes an instruction selection failure detected by llvm-stress.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195444 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsSEISelLowering.cpp
test/CodeGen/Mips/msa/llvm-stress-s2501752154-simplified.ll [new file with mode: 0644]