Skip to content
Unverified Commit 5db63d29 authored by Pierre van Houtryve's avatar Pierre van Houtryve Committed by GitHub
Browse files

[AMDGPU] PromoteAlloca: Handle load/store subvectors using non-constant indexes (#71505)

I assumed indexes were always ConstantInts, but that's not always the
case. They can be other things as well. We can easily handle that by
just emitting an add and let InstSimplify do the constant folding for
cases where it's really a ConstantInt.

Solves SWDEV-429935
parent 7c636728
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment