Introduction of OpenMP-specific information cache based on Attributor's InformationCache. This should make it easier to share information between them.
This also defines some basic information about ICVs in OMPKinds.def.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Can you split the rest into 1) NFC create and populate Cache, and 2) Introduce ICVs. I think the first is trivial. For the second we might need a way to test it. Would be interesting to have a cmd line flag to dump the ICV state at the beginning of each function. For now that would print their defaults but that is fine too.
llvm/lib/Transforms/IPO/OpenMPOpt.cpp | ||
---|---|---|
149 | Feel free to commit this part as NFC. |
Feel free to commit this part as NFC.