diff options
author | Florian Hahn <flo@fhahn.com> | 2021-03-29 20:19:45 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2021-03-29 22:22:05 +0100 |
commit | 482283042f795ecc27838a3b2f76b5494991401c (patch) | |
tree | 29f28b52c4dd52a0f02f4610127145632659426c /llvm/lib/Transforms/Utils/Utils.cpp | |
parent | 047cbfe2bbf22a9da1bd27cafcee4eb1453965dc (diff) | |
download | llvm-482283042f795ecc27838a3b2f76b5494991401c.zip llvm-482283042f795ecc27838a3b2f76b5494991401c.tar.gz llvm-482283042f795ecc27838a3b2f76b5494991401c.tar.bz2 |
[AArch64] Remove custom zext/sext legalization code.
Currently performExtendCombine assumes that the src-element bitwidth * 2
is a valid MVT. But this is not the case for i1 and it causes a crash on
the v64i1 test cases added in this patch.
It turns out that this code appears to not be needed; the same patterns are
handled by other code and we end up with the same results, even without the
custom lowering. I also added additional test cases in a50037aaa6d5df.
Let's just remove the unneeded code.
Reviewed By: dmgreen
Differential Revision: https://reviews.llvm.org/D99437
Diffstat (limited to 'llvm/lib/Transforms/Utils/Utils.cpp')
0 files changed, 0 insertions, 0 deletions