Fixes a crash caused by D91255, when LLVMTy is null when calling changeExtendedVectorElementType.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Possibly; Though it doesn't change the supported scope covered by the tests in D91255, it might be worth having one to make sure the crash doesn't reoccur.
Comment Actions
Confirmed this fixes our original full-size repro, thanks! I'll let those better knowledgeable than me review the change though.
Comment Actions
LGTM thanks, but please try and simplify the test case if you can.
llvm/test/CodeGen/AArch64/aarch64-dup-ext-vectortype-crash.ll | ||
---|---|---|
13 | Can this test be made simpler? It possibly just needs an extend from a non-expected type, splat into a mul. |
llvm/test/CodeGen/AArch64/aarch64-dup-ext-vectortype-crash.ll | ||
---|---|---|
13 | Done, thanks for the tip |
Can this test be made simpler? It possibly just needs an extend from a non-expected type, splat into a mul.