Files
swift-mirror/lib/SILOptimizer/Analysis/LoopRegionAnalysis.cpp
Erik Eckstein 1c844ed29f SIL: remove dangerous SILBasicBlock APIs
`isSuccessorBlock` and `isPredecessorBlock` are dangerous because they can easily lead to quadratic behavior.
Fortunately they are not used anywhere (except in one place for verification, which I rewrote).
2023-03-08 12:20:52 +01:00

45 KiB