swift
86771468 - Swift Optimizer: move `StoreInst.split` into OpUtils.swift

Commit
2 years ago
Swift Optimizer: move `StoreInst.split` into OpUtils.swift To make it available in other optimizations as well. Also, a few problems: * Use destructre instructions when in OSSA * Don't split the store if it's nominal type has unreferenceable stoarge * rename it to `trySplit` because it's not guaranteed to work Also, add the counterpart for load instructions: `LoadInst.trySplit()`
Author
Committer
Parents
Loading