summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorMichael Maitland <michaeltmaitland@gmail.com>2024-02-06 20:23:07 -0500
committerGitHub <noreply@github.com>2024-02-06 20:23:07 -0500
commit055ac72ecca4b56826ac02851f8a18f20a8557df (patch)
treeccfa7a3744f41c7f3e5791604f943366000a1de2 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent897297e8b09ed6076f5dc6883b459b209bb9e29f (diff)
[GISel] Add support for scalable vectors in getLCMType (#80306)
This function can be called from buildCopyToRegs where at least one of the types is a scalable vector type. This function crashed because it did not know how to handle scalable vector types. This patch extends the functionality of getLCMType to handle when at least one of the types is a scalable vector. getLCMType between a fixed and scalable vector is not implemented since the docstring of the function explains that getLCMType is used to build MERGE/UNMERGE instructions and we will never build a MERGE/UNMERGE between fixed and scalable vectors.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions