Repository navigation
Commit 4822830
committed
[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 a50037a.
Let's just remove the unneeded code.
Reviewed By: dmgreen
Differential Revision: https://reviews.llvm.org/D994371 parent 047cbfe commit 4822830
2 files changed
Lines changed: 65 additions & 72 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13939 | 13939 | | |
13940 | 13940 | | |
13941 | 13941 | | |
13942 | | - | |
13943 | | - | |
13944 | | - | |
13945 | | - | |
13946 | | - | |
13947 | | - | |
13948 | | - | |
13949 | | - | |
13950 | | - | |
13951 | | - | |
13952 | | - | |
13953 | | - | |
13954 | | - | |
13955 | | - | |
13956 | | - | |
13957 | | - | |
13958 | | - | |
13959 | | - | |
13960 | | - | |
13961 | | - | |
13962 | | - | |
13963 | | - | |
13964 | | - | |
13965 | | - | |
13966 | | - | |
13967 | | - | |
13968 | | - | |
13969 | | - | |
13970 | | - | |
13971 | | - | |
13972 | | - | |
13973 | | - | |
13974 | | - | |
13975 | | - | |
13976 | | - | |
13977 | | - | |
13978 | | - | |
13979 | | - | |
13980 | | - | |
13981 | | - | |
13982 | | - | |
13983 | | - | |
13984 | | - | |
13985 | | - | |
13986 | | - | |
13987 | | - | |
13988 | | - | |
13989 | | - | |
13990 | | - | |
13991 | | - | |
13992 | | - | |
13993 | | - | |
13994 | | - | |
13995 | | - | |
13996 | | - | |
13997 | | - | |
13998 | | - | |
13999 | | - | |
14000 | | - | |
14001 | | - | |
14002 | | - | |
14003 | | - | |
14004 | | - | |
14005 | | - | |
14006 | | - | |
14007 | | - | |
14008 | | - | |
14009 | | - | |
14010 | | - | |
14011 | | - | |
14012 | | - | |
14013 | | - | |
| 13942 | + | |
14014 | 13943 | | |
14015 | 13944 | | |
14016 | 13945 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
0 commit comments