Commit Graph

6 Commits

Author SHA1 Message Date
Erik Eckstein 77f64398e5 Optimizer: run SimpilfyStructExtract also in SILCombine 2026-03-10 07:56:51 +01:00
Meghana Gupta 54522799df Revert "Improve bounds checking of local span's with known count"
This reverts commit 1575286943.
2026-02-20 00:40:33 -08:00
Meghana Gupta 1575286943 Improve bounds checking of local span's with known count
Look through mark_dependence [nonescaping] instructions while simplifying struct_extract
This is crucial to propagate Span's count field when known.
2026-02-18 11:11:59 -08:00
Erik Eckstein 3f95ce9645 Optimizer: fix spelling of the Simplifiable protocol
Rename `Simplifyable` -> `Simplifiable`

NFC
2025-02-12 09:01:11 +01:00
Erik Eckstein f1095556c9 Swift SIL: let var UnaryInstruction.operand return an Operand and not a Value
To avoid confusion. Instead add specific getters for unary instructions with dedicated names.

NFC
2023-02-21 17:57:29 +01:00
Erik Eckstein 1c70060e01 Swift Optimizer: add Onone simplification of struct_extract instructions 2023-02-09 06:50:05 +01:00