swift
0597ec59 - [SIL] BuiltinInsts have type dependent operands.

Commit
1 year ago
[SIL] BuiltinInsts have type dependent operands. Collect all types in the substitution map which constitute type-dependent operands and record them in the instruction's operand list. Fixes a bug where open_existential_metatype (e.g.) is deleted as dead because it has no users even when the type it defines is used in a substitution map of a builtin.
Author
Committer
Parents
Loading