Pre-lowering hook for targets with custom dialects (TargetLowering)

Please see our AI usage policy (quoting below for reference). In the future, please make sure that if you’re using AI to help write replies, those replies still read as human-written, and there’s value in the reply beyond what AI has generated.

Don’t post AI-generated technical solutions without disclosing the source.
If you feel that an AI-generated code snippet or technical solution would add value to a discussion, be sure to disclose that the content is AI-generated (e.g. “I asked ChatGPT this question, and this is what it said: …”).
Otherwise, you’re welcome to use AI to edit or supplement your posts, but posts that are obviously AI-generated, don’t include a disclosure, and don’t add value to a discussion will be removed. Repeatedly violating this guidelines may result in removal of your account.