swift
286b2e0c - PredictableMemOpt: Fix source location for injected destroys

Commit
2 years ago
PredictableMemOpt: Fix source location for injected destroys It's not correct to copy the location from an instruction and turn it into a RegularLocation if the Location was, e.g., a CleanupLocation. It's always safe to use a compilergenerated location instead. Caught by the dihole verification int the source compatibility suite. rdar://107984038
Author
Parents
Loading