Code is inserting an addrspacecast it shouldn't be, but
that's a separate CodeExtractor bug.
This also stops caring about typed pointers.
Differential D141065
IROutliner: Fix another assert with non-0 alloca addrspaces arsenm on Jan 5 2023, 8:03 AM. Authored by
Details
Code is inserting an addrspacecast it shouldn't be, but This also stops caring about typed pointers.
Diff Detail
Unit Tests Event Timeline
|
What's the reasoning behind removing the check for the type of pointer and making it only care about whether it is a pointer? There can be multiple sets outputs to an set of extracted function and (as I understand it) the previous check looked checked that the argument type is a pointer to a specific type as well to not encounter errors later on.