[flang][NFC] Add tests for fir.is_present
authorValentin Clement <clementval@gmail.com>
Sun, 3 Apr 2022 13:21:42 +0000 (15:21 +0200)
committerValentin Clement <clementval@gmail.com>
Sun, 3 Apr 2022 13:22:33 +0000 (15:22 +0200)
commit602dd6bd32ab6f4ae8acebff0eacef8e2261fe49
treec59de09394df4ed9a3ba337b0dae6ceee0d47a4c
parente0c782bdc0e9b9bb6ff69e224121adaba8aab843
[flang][NFC] Add tests for fir.is_present

This patch adds tests for the `fir.is_present`
translation.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D122813

Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
flang/test/Fir/optional.fir [new file with mode: 0644]