aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorOleksandr "Alex" Zinenko <git@ozinenko.com>2024-11-24 14:25:11 -0800
committerGitHub <noreply@github.com>2024-11-24 23:25:11 +0100
commit5ce4d4c77517f1bc9ad11b2637056b870f2bd156 (patch)
tree2e78a2b0c11e34ca16e311a801d514fd652bd132 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent590f451b60d434b26c634a07125fb05baf461fa0 (diff)
downloadllvm-5ce4d4c77517f1bc9ad11b2637056b870f2bd156.zip
llvm-5ce4d4c77517f1bc9ad11b2637056b870f2bd156.tar.gz
llvm-5ce4d4c77517f1bc9ad11b2637056b870f2bd156.tar.bz2
[mlir] fix memory effects in GPU barrier elimination (#117432)
Existing implementation may trigger infinite cycles when collecting effects above or below the current block after wrapping around a loop-like construct. Limit this case to only looking at the immediate block (loop body). This is correct because wrap around is intended to consider effects of different iterations of the same loop and shouldn't be existing the loop block. Reported-by: Fabian Mora <fmora.dev@gmail.com> Co-authored-by: Fabian Mora <fmora.dev@gmail.com>
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions