aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorTom Eccles <tom.eccles@arm.com>2024-06-21 11:10:12 +0100
committerGitHub <noreply@github.com>2024-06-21 11:10:12 +0100
commit0637778af4174daf9cc1c315049a79db27f36e72 (patch)
tree26b1afbd81295ae7c834fd992fafa221e96adf3a /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent906316eababcbcfd71e357aa3b66bdfc9237b3b9 (diff)
downloadllvm-0637778af4174daf9cc1c315049a79db27f36e72.zip
llvm-0637778af4174daf9cc1c315049a79db27f36e72.tar.gz
llvm-0637778af4174daf9cc1c315049a79db27f36e72.tar.bz2
[mlir][LLVMIR][OpenMP] fix dominance for reduction init block (#96052)
It was incorrect to set the insertion point to the init block after inlining the initialization region because the code generated in the init block depends upon the value yielded from the init region. When there were multiple reduction initialization regions each with multiple blocks, this could lead to the initilization region being inlined after the init block which depends upon it. Moving the insertion point to before inlining the initialization block turned up further issues around the handling of the terminator for the initialization block, which are also fixed here. This fixes a bug in #92430 (but the affected code couldn't compile before #92430 anyway).
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions