Instead of its index. There is no benefit to storing the index instead
of the pointer.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Paths 
  |  Differential  D133805  
[mlir][ods] Store the pointer to the anchor element (NFC) ClosedPublic Authored by Mogball on Sep 13 2022, 1:15 PM. 
Details Summary Instead of its index. There is no benefit to storing the index instead 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Sep 13 2022, 1:22 PM Mogball added a child revision: D133812: [mlir][ods] Format: allow anchors in the else elements.Sep 13 2022, 3:17 PM Closed by commit rG52a479de607d: [mlir][ods] Store the pointer to the anchor element (NFC) (authored by Mogball).  ·  Explain WhySep 20 2022, 11:08 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 461622 mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp
 mlir/tools/mlir-tblgen/FormatGen.h
 mlir/tools/mlir-tblgen/FormatGen.cpp
 mlir/tools/mlir-tblgen/OpFormatGen.cpp
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||