llvm-project
c02403e3 - [OpenACC][CIR] Implement 'host_data' lowering, plus all clauses (#143136)

Commit
153 days ago
[OpenACC][CIR] Implement 'host_data' lowering, plus all clauses (#143136) 'host_data' has its own Op kind, so this handles the lowering there, it looks exactly like the other ones we've done so far, so nothing novel here. host_data takes 3 clauses, 1 of which is required. 'use_device' is required, and results in an acc.use_device operation, which then feeds into the dataOperands list on acc.host_data. 'if_present' is a simple attribute on the operand. 'if' is a condition on the operand, identical to our other handling of 'if'. This patch handles all of these.
Author
Parents
Loading