summaryrefslogtreecommitdiff
path: root/polly
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse@sony.com>2023-02-07 12:20:32 +0000
committerJeremy Morse <jeremy.morse@sony.com>2023-02-07 12:24:48 +0000
commit2399497c9d68c946764e3089fb0b4c8d29166d67 (patch)
tree14ac86668c1426ff95b0de8c12410efe49e25e11 /polly
parenta07584d57d7312d6bd5f266dc8cea915fb2b434b (diff)
downloadllvm-2399497c9d68c946764e3089fb0b4c8d29166d67.tar.gz
[debug-info] Followup to e0374fb2f4, avoid changing codegen
As discussed on D140404, calling GetValueInMiddleOfBlock can force PHI nodes to be created, but the patch was only supposed to fetch a Value if it wasn't going to generate any PHIs. Fix this by using GetValueAtEndOfBlock instead of the Middle variant, which was the original intention given the check of HasValueForBlock. We don't need to consider the "middle of block" scenario as we're only dealing with blocks where there are no value definitions.
Diffstat (limited to 'polly')
0 files changed, 0 insertions, 0 deletions