Skip to content
Commit d222bab6 authored by Nikita Popov's avatar Nikita Popov
Browse files

[InstCombine] Handle GEP scalar/vector base mismatch (PR55363)

30a12f3f switched the type check
to use the GEP result type rather than the GEP operand type.
However, the GEP result types may match even if the operand types
don't, in case GEPs with scalar/vector base and vector index
are compared.

Fixes https://github.com/llvm/llvm-project/issues/55363.
parent f14a1f26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment