mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
CanonicalizeInstruction will be a superset of simplifyInstruction (once all the transforms are fixed for ownership SIL). Additionally, it will also include simple SSA-based canonicalization that requires new instruction creation. It may not perform any optimization that interferes with diagnostics or increases compile time. Canonicalization replaces simplifyInstruction in SILCombine so we can easily factor some existing SILCombine transforms into canonicalization.
3.5 KiB
3.5 KiB