Revert "[RISCV] Lower more BUILD_VECTOR sequences to RVV's VID"
authorFraser Cormack <fraser@codeplay.com>
Fri, 16 Jul 2021 13:58:39 +0000 (14:58 +0100)
committerFraser Cormack <fraser@codeplay.com>
Fri, 16 Jul 2021 14:00:20 +0000 (15:00 +0100)
commite3fa2b1eab60342dc882b7b888658b03c472fa2b
tree249941d6052cf460d839493d03362b0ee04e3968
parentadee89f8bcd11529bc9e046493b71fbe4b49dcd1
Revert "[RISCV] Lower more BUILD_VECTOR sequences to RVV's VID"

This reverts commit a6ca88e908b5befcd9b0f8c8cb40f53095cc17bc.

More caution is required to avoid overflow/underflow. Thanks to the
santizers for catching this.
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-shuffles.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-shuffles.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-stepvector-rv32.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-stepvector-rv64.ll