This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][NFC] Remove the need to include `OpenMPClause.h`
ClosedPublic

Authored by rnk on Mar 14 2020, 12:01 PM.

Diff Detail

Event Timeline

jdoerfert created this revision.Mar 14 2020, 12:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 14 2020, 12:01 PM
jdoerfert updated this revision to Diff 250396.Mar 14 2020, 6:50 PM

Finish changes

rnk accepted this revision.Mar 16 2020, 8:46 AM

lgtm, thanks!

This revision is now accepted and ready to land.Mar 16 2020, 8:46 AM
rnk added a comment.Mar 17 2020, 11:23 AM

I patched this in with it's dependency, and to compile just Attr.h by itself, it reduces the time from ~2.420s to ~1.920s, so it is worth pushing this through. :)

However, I noticed that there are still some targets broken by the removal of the SmallSet.h include. I'm happy to push that through if you want to hand it off.

In D76184#1927159, @rnk wrote:

I patched this in with it's dependency, and to compile just Attr.h by itself, it reduces the time from ~2.420s to ~1.920s, so it is worth pushing this through. :)

However, I noticed that there are still some targets broken by the removal of the SmallSet.h include. I'm happy to push that through if you want to hand it off.

I was about to push all three changes but I wans't aware of broken targets. Thx for telling me. I would not mind you talking over this patch. I'll merge the other two in a bit.

In D76184#1927159, @rnk wrote:

I patched this in with it's dependency, and to compile just Attr.h by itself, it reduces the time from ~2.420s to ~1.920s, so it is worth pushing this through. :)

However, I noticed that there are still some targets broken by the removal of the SmallSet.h include. I'm happy to push that through if you want to hand it off.

I was about to push all three changes but I wans't aware of broken targets. Thx for telling me. I would not mind you talking over this patch. I'll merged the other two.

@rnk What is the plan for this one now? Should I abandon it?

rnk added a comment.Apr 2 2020, 1:13 PM

@rnk What is the plan for this one now? Should I abandon it?

Sorry, I got distracted. I tried reapplying it but it didn't apply cleanly. It's possible I hadn't locally applied your patch series correctly when I said it wasn't compiling. If you can get clang (and clangd and clang-tools-extra) to compile with your change, feel free to push.

rnk commandeered this revision.Apr 3 2020, 12:42 PM
rnk edited reviewers, added: jdoerfert; removed: rnk.

I got it building...

This revision now requires review to proceed.Apr 3 2020, 12:42 PM
rnk updated this revision to Diff 254889.Apr 3 2020, 12:42 PM
  • seems to build all..
This revision was not accepted when it landed; it landed in state Needs Review.Apr 3 2020, 1:34 PM
This revision was automatically updated to reflect the committed changes.