Skip to content
Commit fb39f5d2 authored by Rhys Perry's avatar Rhys Perry Committed by Dylan Baker
Browse files

nvc0/ir: fix TargetNVC0::insnCanLoadOffset()



Previously, TargetNVC0::insnCanLoadOffset() returned whether the offset
could be set to a specific value. The IndirectPropagation pass expected
it to return whether the offset could be increased by a specific value,
which is what TargetNV50::insnCanLoadOffset() does.

Fixes: 37b67db6
	("nvc0/ir: be careful about propagating very large offsets into const load")

Signed-off-by: default avatarRhys Perry <pendingchaos02@gmail.com>
Reviewed-by: default avatarKarol Herbst <kherbst@redhat.com>
Signed-off-by: default avatarKarol Herbst <kherbst@redhat.com>
(cherry picked from commit 6bb0f87c)
parent 2fa4b4df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment