SYCLLowerIR: Migrate GlobalOffset tests to new PM (#21463)
Wrap GlobalVMap member in unique_ptr to make GlobalOffsetPass movable.
ValueMap has deleted copy and move constructors, preventing the pass
from being used with the new PassManager which requires movability.
Migrate GlobalOffset tests from legacy PM to new PM for NVPTX and AMDGPU
targets. This change aligns with the upstream removal of
-bugpoint-enable-legacy-pm (llvm/llvm-project#182320)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: Yury Plyakhin <yury.plyakhin@intel.com>