[Chapel Merge] Adjust debug support in doiOptimizedSwap

Branch: refs/heads/main
Revision: 72006a22765ff64629e4f2f4363a8c267b93590f
Author: Michael Ferguson
Link: Adjust debug support in doiOptimizedSwap by mppf · Pull Request #21028 · chapel-lang/chapel · GitHub
Log Message:

Adjust debug support in doiOptimizedSwap
Fixes a test failure after PR #20755 with optimizations/arraySwap/edgeCases Adjusts doiOptimizedSwap where debugOptimizedSwap to use pragma "last resort". Otherwise, this generic function will be preferred to the other overload.
Compare: Comparing ee492a0fa4b155535d4af81651c8c2ba4d665289...72006a22765ff64629e4f2f4363a8c267b93590f · chapel-lang/chapel · GitHub
Diff: https://github.com/chapel-lang/chapel/pull/21028.diff
Modified Files:
modules/dists/BlockDist.chpl,modules/internal/DefaultRectangular.chpl

Added Files:

Removed Files: