aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorMichael Maitland <michaeltmaitland@gmail.com>2024-02-07 10:32:12 -0500
committerGitHub <noreply@github.com>2024-02-07 10:32:12 -0500
commitc954986fec97ab22a9658b496731d0c280938a64 (patch)
treec54cc3d89468697452a6032a2f9715d36224a591 /llvm/lib/CodeGen/MachineModuleInfo.cpp
parentaeb58844dd6673417ebd7fb83f3acdf7282397fb (diff)
downloadllvm-c954986fec97ab22a9658b496731d0c280938a64.zip
llvm-c954986fec97ab22a9658b496731d0c280938a64.tar.gz
llvm-c954986fec97ab22a9658b496731d0c280938a64.tar.bz2
[GISel] Add support for scalable vectors in getGCDType (#80307)
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 getGCDType to handle when at least one of the types is a scalable vector. getGCDType between a fixed and scalable vector is not implemented since the docstring of the function explains that getGCDType is used to build MERGE/UNMERGE instructions and we will never build a MERGE/UNMERGE between fixed and scalable vectors. --------- Co-authored-by: Matt Arsenault <arsenm2@gmail.com>
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions