Razvan Lupusoru f4aec22e47
[mlir][acc] Fix async only api on data entry operations (#122818)
Data entry operations which are created from constructs with async
clause that has no value (aka `acc data copyin(var) async`) end up
holding an attribute array named to keep track of this information.
However, in cases where `async` clause is not used, calling
`hasAsyncOnly` ends up crashing since this attribute is not set.

Thus, to fix this issue, ensure that we check for this attribute before
trying to walk the attribute array.
2025-01-14 07:30:05 -08:00
..