-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Flang][OpenMP] Run Flang-specific OpenMP MLIR passes in bbc #66633
Conversation
@llvm/pr-subscribers-flang-fir-hlfir @llvm/pr-subscribers-flang-driver ChangesThis patch moves the group of OpenMP MLIR passes ran after lowering of Fortran to MLIR into a pipeline to be shared by Unit tests exercising these passes are updated to check
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG.
Please wait for @jsjodin or @agozillon.
LGTM. And nice catch with the test where we've specified the incorrect/non-existent variable name in omp-cse-region-boundary.f90, I spotted it as well it seems we need to add a semantic check for it at some point in the near future, it might be worth opening an issue if there isn't one that exists already. |
This patch moves the group of OpenMP MLIR passes using after lowering of Fortran to MLIR into a pipeline to be shared by `flang-new` and `bbc`. Currently, the `bbc` tool does not produce the expected FIR for offloading- enabled OpenMP codes due to not running these passes. Unit tests exercising these passes are updated to check `bbc` output as well.
c877a04
to
44927ad
Compare
I just squashed and merged this manually in a way that GitHub didn't seem to pick up: fb4bdf3. I suppose I should close this PR now and just click the button next time. Is any other way to proceed preferred? Sorry for the inconvenience! |
Yes, you can close. |
This patch moves the group of OpenMP MLIR passes ran after lowering of Fortran to MLIR into a pipeline to be shared by
flang-new
andbbc
. Currently, thebbc
tool does not produce the expected FIR for offloading- enabled OpenMP codes due to not running these passes.Unit tests exercising these passes are updated to check
bbc
output as well.