Move coor operand from variadic values to ArrayAttr.
Update assembly format.
This patch is part of the upstreaming effort from fir-dev branch.
Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
| Paths 
 |  Differential  D110652  
[fir] Update fir.extract_value and fir.insert_value ops ClosedPublic Authored by clementval on Sep 28 2021, 1:31 PM. 
Details Summary Move coor operand from variadic values to ArrayAttr. This patch is part of the upstreaming effort from fir-dev branch. Co-authored-by: Jean Perier <jperier@nvidia.com> 
Diff Detail 
 Event Timeline
 Comment Actions LGTM. 
 This revision is now accepted and ready to land.Sep 29 2021, 2:23 PM clementval added inline comments. 
 Closed by commit rGc8f03a7fe802: [fir] Update fir.extract_value and fir.insert_value ops (authored by schweitz, committed by clementval).  ·  Explain WhySep 30 2021, 1:24 AM This revision was automatically updated to reflect the committed changes. clementval marked an inline comment as done. 
Revision Contents 
 
Diff 376131 flang/include/flang/Optimizer/Dialect/FIROps.td
 flang/lib/Optimizer/Dialect/FIROps.cpp
 flang/test/Fir/fir-ops.fir
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There is no definition for these builder, which makes think this isn't useful / used right now. Can you remove this? (same below)