Skip to content
Commit ef906f28 authored by Matt Arsenault's avatar Matt Arsenault
Browse files

AMDGPU: Fix assertion when printing unreachable functions

Since 814a0abc, this would break if we
had a function in the module that becomes dead in any codegen IR
pass. The function wasn't deleted since it was initially used in dead
code, but is detached from the call graph and doesn't appear in the PO
traversal. Do a second walk over the module to populate the resources
of any functions which weren't already processed.
parent a4834ad0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment