Commit Graph

3 Commits

Author SHA1 Message Date
Roman Lebedev 59a5964e03
[SimplifyCFG] Don't speculatively execute BB[s] if they are predictably not taken
Same as D106650, but for `FoldTwoEntryPHINode()`

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D106717
2021-07-26 02:55:15 +03:00
Roman Lebedev 48379f27d0
[NFC][SimplifyCFG] Add more negative tests for profmd-induced speculation avoidance 2021-07-26 02:55:08 +03:00
Roman Lebedev 1f341aedc9
[NFC][SimplifyCFG] Add tests for `FoldTwoEntryPHINode()` with prof md 2021-07-24 01:03:37 +03:00