julia.loopinfo_marker
can be attaced to wrong loop.
#50660
Labels
compiler:codegen
Generation of LLVM IR and native code
compiler:llvm
For issues that relate to LLVM
compiler:simd
instruction-level vectorization
Noticed by @lcw in JuliaGPU/KernelAbstractions.jl#411
Using the snippet in the PR above we see:
The Loop is not in in idiom form (e.g loop header and latch are collapsed into one BB) and
simplifycfg
eliminated the inner loop.This issue could also occur with
@simd
and thus cause miscompilations.The text was updated successfully, but these errors were encountered: