User Details
- User Since
- May 29 2017, 9:39 PM (303 w, 6 d)
Fri, Mar 24
- [MLIR][OpenMP] Newline at end of OpenMPInterfaces.h file
A patch based on https://reviews.llvm.org/D146721 by @kiranchandramohan an attempt at adding a module interface for OpenMP offload related attributes and functions that apply to modules. Using the existing omp.is_device work as the initial attribute (although this has been tested with the RTLModuleFlag's patch i have up and it works fine as well).
Thu, Mar 23
Wed, Mar 22
Tue, Mar 21
Sorry to ping this for you busy reviewers, however, I was hoping that this could get reviewed again as the pre-requisite patches required for the lowering of this attribute now exist! Namely the fopenmp-is-device patch and the ability to lower module attributes https://reviews.llvm.org/D145932
Mon, Mar 20
I believe I understand your concerns.
Going to abandon and close this revision as the Reviewers point was implemented and accepted in the following patch https://reviews.llvm.org/D145932/ by @skatrak, thank you very much @skatrak for looking into this! And thank you @ftynse for recommending a better direction.
Fri, Mar 17
May I please request a final acceptance from both @jhuber6 and @awarzynski before I commit this upstream! If you have no further comments to add or requests of course.
Thu, Mar 16
Recent commit added some more detail to the comment on the fembed-offload-object argument as requested by @awarzynski
- [Flang][Driver] Expand further on the embed-offload-object comment
Deleted the clang test that was forwarding to Flang and merged with the omp-frontend-forwarding.f90 test where relevant. Second push was because I forgot to add a missing newline, which I seem to do frequently...
- Readd missing newline
- [Flang][Driver] Try to fix failing omp-frontend-forwarding.f90 test
- [Flang][Driver] Simplify omp-frontend-forwarding.f90 test
- [Flang][Driver][Test] Delete flang-omp test from Clang and merge tests into omp-frontend-forwarding.f90
Tue, Mar 14
Mon, Mar 13
Recent update was to simplify the omp-frontend-forwarding.f90 test
- [Flang][Driver] Simplify omp-frontend-forwarding.f90 test
- [Flang][Driver] Try to fix failing omp-frontend-forwarding.f90 test
Fri, Mar 10
Tue, Mar 7
Cleaned up the test, thank you both for teaching me more about the compiler and test infrastructure! If you're happy with the test changes @kiranchandramohan I'll commit the changes upstream to close out the review?
- [Flang][Driver] Tidy up omp-is-device.f90 test
The recent update removed the added offload related code from Flang.h/.cpp and removed the related test.
- [Flang][ToolChain][OpenMP][Driver] Reduce changes to only add -fc1 support
Mon, Mar 6
Fri, Mar 3
This builds on the following phabricator patches that are in review at the moment, so there are components that are used here that are added from these:
Thank you very much @awarzynski I will wait for further approval!
The new update adds the suggested new tests! Thank you very much @awarzynski for suggesting them that was a great help. Hopefully the new additions cover what you have requested, if not I am of course happy to change or add more tests as needed.
- [Flang][MLIR][Test] Add newline at end of test file
- [MLIR][OpenMP] Fix attribute helpers to apply to more than builtin.module
- [Flang][mlir] Adding space at the end of the omp-is-device test file
- [Clang][Flang][Driver][Test] Add flang-omp.f90 to test fopenmp/fopenmp-is-device for flang driver-mode
- [Flang][MLIR][OpenMP] Add additional tests to omp-is-device.f90 test
Thu, Mar 2
Removed the incorrect and stupidly strong comment made by myself in the last patch update.
- [OpenMP][MLIR] Simplify the RTLModuleFlagsAttr with optional parameters
- [OpenMP][MLIR] Make set/getRTLFlags work on an operation rather than a builtin.module
- [OpenMP][MLIR] Remove erroneous comment
Wed, Mar 1
After asking @jsjodin and @skatrak for some input on additional tests that could be added and having a look around the existing tests we couldn't really come up with any additional tests to add to the ones that are in the patch at the moment (inside of omp-is-device.f90 and driver-help.f90) unfortunately. Primarily as there isn't any use of this attribute yet, although there will be quite soon.
- [Flang][mlir] Adding space at the end of the omp-is-device test file
Thank you @jeanPerier for the help and review, that's it landed now, sorry for making the FIR IR reading harder for you for the time being!
After a little bit of time going over the suggested change of ditching convertModuleOperation and using the existing convertOperation infrastructure, I can see two ways of doing it:
Tue, Feb 28
- [MLIR][OpenMP] Fix attribute helpers to apply to more than builtin.module
Updated to add default parameters to the attribute, allowing optional specifying of values, changed the get/set RTL functions to work a little more generically and added further tests for the slightly improved syntax as it will now only show flags when they're set.
- [OpenMP][MLIR] Simplify the RTLModuleFlagsAttr with optional parameters
- [OpenMP][MLIR] Make set/getRTLFlags work on an operation rather than a builtin.module
Mon, Feb 27
Forgot to add an additional test in initial patch!
Feb 17 2023
Thank you for the suggestion, I made the simplification of reducing the clause names, sorry for missing your comment for so long. I had to update which email my notifications were being sent to!
- [MLIR][OpenMP] Change clauses to there shorthand
Feb 2 2023
Feb 1 2023
Sorry, done, I've added the fully qualified names.
- [FLANG][MLIR] remove MangleNameOnCallOp
- [FLANG][MLIR] remove MangleNameOnCallOp
Jan 31 2023
Used arcanist for the most recent update, hopefully it's done as expected and appended the extra context requested, if not I can try again. Thank you for introducing me to Arcanist, it's a lot smoother than the web API, not sure why I was avoiding it before!
- [MLIR][OpenMP] Add tests for Declare Target op
Adding a test that will show regression of the problem. I have used func.call rather than fir.call as these seem to be unaffected but the func.call's appear to display the issue.
More than happy to do that, I will do so after I've completed the requested changes! Do you know if it Is possible to just alter the existing review with new diff data from arcanist or would it require a completely new Phabricator review?