OK. About the error it’s a long story, so it’s probably better to pin some source code here. Below is a piece of code related to my problem, clipped from lib/Transforms/Utils/ValueMapper.cpp. I was wondering what “materialized” means here.
> possibly useful during LTO. I’m not sure though.
you're reading about materialization, so that we can speak of the same thing.