Add the opaque attribute class used in flang.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Event Timeline
| flang/include/flang/Optimizer/Dialect/FIRAttr.h | ||
|---|---|---|
| 139 | It seems critical to me that these are documented as only appropriate for non-semantic bearing content (debug help?) to preserve round-tripping of the IR and reproducibility. The use of such attribute should be exceptional I think. Another aspect to document very clearly is that the pointer used to create such attribute must outlive any IR that would refer to this attribute.  | |
| flang/include/flang/Optimizer/Dialect/FIRAttr.h | ||
|---|---|---|
| 139 | Will do.  | |
It seems critical to me that these are documented as only appropriate for non-semantic bearing content (debug help?) to preserve round-tripping of the IR and reproducibility. The use of such attribute should be exceptional I think.
Another aspect to document very clearly is that the pointer used to create such attribute must outlive any IR that would refer to this attribute.