swift
633d42b1 - Optimizer: correctly handle bit-wise escaping values in OSSA canonicalization

Commit
15 days ago
Optimizer: correctly handle bit-wise escaping values in OSSA canonicalization We cannot compute the liverange of a value if it bit-wise escapes. This fixes a mis-compile in copy-propagation which hoists a destroy_value over a use of the escaped value when lexical liveranges are disabled. The test case is a simplified SIL sequence from the stdlib core where this problem shows up, because we build the stdlib core with disabled lexical liveranges.
Author
Committer
Parents
Loading