aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Utils.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2021-03-29 20:19:45 +0100
committerFlorian Hahn <flo@fhahn.com>2021-03-29 22:22:05 +0100
commit482283042f795ecc27838a3b2f76b5494991401c (patch)
tree29f28b52c4dd52a0f02f4610127145632659426c /llvm/lib/Transforms/Utils/Utils.cpp
parent047cbfe2bbf22a9da1bd27cafcee4eb1453965dc (diff)
downloadllvm-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