Commit 34383a2f authored by David Gross's avatar David Gross
Browse files

Metadata extractor must tolerate missing accumulator function.

Looking up a general reduction accumulator function by name can fail,
just as looking up a foreach kernel function by name can fail: One of
the uses of MetadataExtractor is as part of the RSEmbedInfoPass, which
bcc_compat runs sufficiently late in the phase order that
RSKernelExpandPass has already run and the original (UNexpanded)
accumulator function may have been deleted as having no references (if
it has been inlined into the expanded accumulator function and is
otherwise unreferenced).

Bug: 23535724
Change-Id: I41b1fc9cc5c780174ddf9b85af71cb3381928bcf
parent efe14344
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment