Swift: Update SSA to reference the new use-use predicates.#19177
Swift: Update SSA to reference the new use-use predicates.#19177aschackmull merged 3 commits intogithub:mainfrom
Conversation
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
Files not reviewed (2)
- swift/ql/lib/codeql/swift/dataflow/Ssa.qll: Language not supported
- swift/ql/lib/codeql/swift/dataflow/internal/DataFlowPrivate.qll: Language not supported
Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more
|
It appears that the changes do improve flow slightly - enough to fix a missing flow in a test. |
|
DCA is showing two new results (👍) but a slowdown in analysis times, including one project apparently timing out during analysis. |
I don't see this? (neither in the first nor second dca run)
Did you look at the second dca run? I fixed an accidental CP and reran dca, so there shouldn't be any timeouts. |
|
I also cannot reproduce any of the supposed timing regressions in the second dca run locally, so I'm leaning towards considering those numbers noise. |
paldepind
left a comment
There was a problem hiding this comment.
Looks good to me. Regarding the DCA slowdown, 1/3 of the projects got faster and the remaining 2/3 got slower. So I agree that it is very likely just noise.
Something about the use-use steps in data flow looks buggy, but I'm not going to fix that here. This is just aiming for a one-for-one semantically equivalent switch to the new use-use predicates.