This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Pass chunk-size to MLIR while lowering from parse-tree
ClosedPublic

Authored by Leporacanthicus on May 25 2022, 7:59 AM.

Details

Summary

Test that chunk size is passed to the static init function.
Using three different variations:

  1. Single constant.
  2. Expression with constants.
  3. Variable value.

Diff Detail

Event Timeline

Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 25 2022, 7:59 AM
Leporacanthicus requested review of this revision.May 25 2022, 7:59 AM

The code LGTM. The test should be from F90 to MLIR (FIR + OpenMP Dialect) only. Lowering to LLVM IR from FIR and OpenMP Dialect is tested separately.

shraiysh requested changes to this revision.May 25 2022, 11:17 AM
This revision now requires changes to proceed.May 25 2022, 11:17 AM

Update test to MLIR

peixin accepted this revision.May 26 2022, 4:07 AM

LGTM

shraiysh accepted this revision.May 26 2022, 6:51 AM

Yup this looks okay to me now. Thank you!

This revision is now accepted and ready to land.May 26 2022, 6:51 AM

Removed some unnecessary test-lines [testing for variables used nowhere else
and constants used to set up the I/O, where the call itself is not tested]