[Clang][OpenMP] Fix private variables registration in `simd` (#74105)
Fix #69214 In `emitOMPSimdRegion`, the `EmitOMPPrivateLoopCounters` should be after `EmitOMPPrivateClause`. If not, the private variables will be registered too early, which is not allowed by `EmitOMPPrivateClause`.
Loading
Please sign in to comment