Files
clang-p2996/mlir/lib/Dialect/OpenACC
Valentin Clement c3c73e5d40 [mlir][openacc] Add canonicalization pattern for acc.host_data
Add if condition removal pattern for acc.host_data in a same way as
acc.enter_data, acc.exit_data and acc.update.

The condition is removed from the op if it is a true constant. If
it is a false constant then the region is inlined before the op
and the op is removed.

Reviewed By: vzakhari

Differential Revision: https://reviews.llvm.org/D150480
2023-05-12 16:57:58 -07:00
..