commit | a2902f3769fa36096a2a307c28f32cbaea39c951 | [log] [tgz] |
---|---|---|
author | Karthika Devi C <quic_kartc@quicinc.com> | Fri Nov 01 11:15:24 2024 +0530 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Oct 31 22:51:10 2024 -0700 |
tree | c6735f90d67516573876ae1e64231ce93590e4e5 | |
parent | 671dd744a74b6a88a634c03b1597535c0a2adf36 [diff] |
[polly] Add nullptr check to fix #113772 (#114206) The patch adds a nullptr check before accessing the loop blocks in 'hasPossiblyDistributableLoop' function. The existing check for the loop’s containment in the region does not capture nullptr cases when the region covers the entire function. Therefore, it’s better to exit if the basic block isn’t part of any loop Fixes #113772. GitOrigin-RevId: 4cb71701994e129c1beca77134b39137ea8752c3