summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorHenry Yu <hazyfish@outlook.com>2022-11-03 15:30:38 -0700
committerPeter Rong <PeterRong96@gmail.com>2022-11-03 15:35:13 -0700
commitef0d689e8be2ac22b2e2da477217c761354c0ff9 (patch)
tree6ae2e6512b1fe4dc577a909d691501b78e4c6e11 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent348189880b7bc9513ccdd0ea3a1e255b4d3190e7 (diff)
[SelectionDAGBuilder] use bitcast instead of AnyExtOrTrunc if copy parts from an int vector to a float vector to fix issue #58615
The getCopyFromPartsVector doesn't work correctly when PartEVT and ValueVT have both different element type and different size. This patch 1) removes the part of a comment that contains the incorrect assumption that element type are the same 2) use bitcast when copy parts of int vector to a float vector after the subvector extraction Reviewed By: Peter, efriedma Differential Revision: https://reviews.llvm.org/D136726
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions