Stop the Cpp target from emitting unused labels. The previosly generated
code generated warning if -Wunused-label is passed to a compiler.
Co-authored-by: Simon Camphausen <simon.camphausen@iml.fraunhofer.de>
Paths
| Differential D118154
[mlir] Don't emit unused labels ClosedPublic Authored by marbre on Jan 25 2022, 8:24 AM.
Details
Summary Stop the Cpp target from emitting unused labels. The previosly generated Co-authored-by: Simon Camphausen <simon.camphausen@iml.fraunhofer.de>
Diff Detail
Event TimelineHerald added subscribers: sdasgup3, wenzhicui, wrengr and 19 others. · View Herald TranscriptJan 25 2022, 8:24 AM This revision is now accepted and ready to land.Jan 25 2022, 8:32 AM This revision was landed with ongoing or failed builds.Jan 26 2022, 11:56 PM Closed by commit rG578122c18a2f: [mlir] Don't emit unused labels (authored by marbre). · Explain Why This revision was automatically updated to reflect the committed changes. marbre marked an inline comment as done.
Revision Contents
Diff 403519 mlir/lib/Target/Cpp/TranslateToCpp.cpp
mlir/test/Target/Cpp/control_flow.mlir
|
Could you update this comment?