[RISCV] Add missing bitcasts to the results of lowerINSERT_SUBVECTOR and lowerEXTRACT...
authorCraig Topper <craig.topper@sifive.com>
Fri, 19 Mar 2021 17:47:47 +0000 (10:47 -0700)
committerCraig Topper <craig.topper@sifive.com>
Fri, 19 Mar 2021 17:54:33 +0000 (10:54 -0700)
commit5d315691c42b57d1858d0f8dc486708bf839cdb3
tree284d6c83c31d0ab7fecb3395357c4fbcd411105d
parent95998b898c68206bf0693cc5c1fd17ab9a395cef
[RISCV] Add missing bitcasts to the results of lowerINSERT_SUBVECTOR and lowerEXTRACT_SUBVECTOR when handling mask vectors.

Found by adding asserts to LegalizeDAG to catch incorrect result
types being returned.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D98964
llvm/lib/Target/RISCV/RISCVISelLowering.cpp