aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/ErrorHandling.cpp
diff options
context:
space:
mode:
authorDavid Sherwood <david.sherwood@arm.com>2021-09-28 14:33:10 +0100
committerDavid Sherwood <david.sherwood@arm.com>2021-10-06 09:27:44 +0100
commit37edb7d3e26353ffd8a239b3f850925dc913a6bb (patch)
tree1f637042085fae5d8315815e12f3019328a652b4 /llvm/lib/Support/ErrorHandling.cpp
parent0c7495848a02e1bcc68527c77c2a060ffae408c1 (diff)
downloadllvm-37edb7d3e26353ffd8a239b3f850925dc913a6bb.zip
llvm-37edb7d3e26353ffd8a239b3f850925dc913a6bb.tar.gz
llvm-37edb7d3e26353ffd8a239b3f850925dc913a6bb.tar.bz2
[SVE] Fix incorrect DAG combines when extracting fixed-width from scalable vectors
We were previously silently generating incorrect code when extracting a fixed-width vector from a scalable vector. This is worse than crashing, since the user will have no indication that this is currently unsupported behaviour. I have fixed the code to only perform DAG combines when safe to do so, i.e. the input and output vectors are both fixed-width or both scalable. Test added here: CodeGen/AArch64/sve-extract-scalable-vector.ll Differential revision: https://reviews.llvm.org/D110624
Diffstat (limited to 'llvm/lib/Support/ErrorHandling.cpp')
0 files changed, 0 insertions, 0 deletions