[Chapel Merge] separate GPU transformation code out of DCE

Branch: refs/heads/main
Revision: 38c7118
Author: stonea
Link: Separate GPU transformation code out of DCE by stonea · Pull Request #18690 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #18690 from stonea/gpu_outta_dce

separate GPU transformation code out of DCE

This PR moves the GPU related code out of dead code elimination into its own file. We may want to make this a proper pass, but for this PR I just have DCE call into it.

[Reviewed by @e-kayrakli]

Modified Files:
A compiler/optimizations/gpuTransforms.cpp

M compiler/include/optimizations.h
M compiler/optimizations/Makefile.share
M compiler/optimizations/deadCodeElimination.cpp

Compare: https://github.com/chapel-lang/chapel/compare/aae9e6f9ea61...38c71180f4aa