RE: PR118200: note_simd_array_uses crashes in SIMT region with offloading to nvptx

2025-01-07 Thread Prathamesh Kulkarni
> -Original Message- > From: Prathamesh Kulkarni > Sent: 26 December 2024 22:36 > To: gcc-patches@gcc.gnu.org; ja...@redhat.com; Thomas Schwinge > > Subject: PR118200: note_simd_array_uses crashes in SIMT region with > offloading to nvptx > > External email

PR118200: note_simd_array_uses crashes in SIMT region with offloading to nvptx

2024-12-26 Thread Prathamesh Kulkarni
Hi, As mentioned in PR, note_simd_array_uses (and adjust_simduid_builtins), crash while processing GOMP internal functions (GOMP_SIMD_VF) in SIMT region. This happens because in SIMT region, first argument to GOMP internal function is lhs of call to IFN_GOMP_SIMT_ENTER, rather than default defini