swift
dfa629a1 - [SIL] Fix memInstMustInitialize for builtins.

Commit
1 year ago
[SIL] Fix memInstMustInitialize for builtins. The function's switch previously fell-through to the SILInstructionKind::StoreWeakInst case which cast the instruction (a BuiltinInst) to StoreWeakInst and then called isInitializationOfDest on it.
Author
Committer
Parents
  • lib/SILOptimizer/Mandatory
    • File
      MoveOnlyUtils.cpp