aco: store NIR range analysis data to the isel context
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 2 Nov 2020 13:01:38 +0000 (14:01 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 3 Nov 2020 13:47:40 +0000 (13:47 +0000)
commit3a72021d7cf4486c52f60dd3a6ae776235d5b587
tree4a5f506eab5651dfc3465323fa158614fd3968b2
parent81ff38947a4556d693abaf162394ed77b7608eed
aco: store NIR range analysis data to the isel context

It will be used to optimize some ALU instructions.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7405>
src/amd/compiler/aco_instruction_selection.cpp
src/amd/compiler/aco_instruction_selection.h
src/amd/compiler/aco_instruction_selection_setup.cpp