Branch: refs/heads/master
Revision: 3c219d9
Author: e-kayrakli
Log Message:
Merge pull request #16464 from e-kayrakli/config-param-const-dom
Add a flag to enable/disable tracking arrays for constant domains
This PR adds config param trackArraysForConstDomains = false
, which can be
set to true
at compile time to track arrays even if we know that the domain is
constant. This is added as a stopgap measure in case there is a bug in
determining whether a domain is constant or not.
Also adds a test for the flag’s behavior.
[Reviewed by @ronawho]
Test:
- [x] gasnet
test/release/examples
- [x] gasnet
test/optimizations/constDomain
Modified Files:
A test/optimizations/constDomain/trackArraysFlag-false.good
A test/optimizations/constDomain/trackArraysFlag-true.good
A test/optimizations/constDomain/trackArraysFlag.chpl
A test/optimizations/constDomain/trackArraysFlag.compopts
M modules/internal/ChapelArray.chpl
M modules/internal/ChapelDistribution.chpl
Compare: https://github.com/chapel-lang/chapel/compare/3352c5f895ac...3c219d9005ad