[all-commits] [llvm/llvm-project] 578122: [mlir] Don't emit unused labels
Marius Brehler via All-commits
all-commits at lists.llvm.org
Wed Jan 26 23:56:50 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 578122c18a2fd2765b4b07a6cf9d46719c638a60
https://github.com/llvm/llvm-project/commit/578122c18a2fd2765b4b07a6cf9d46719c638a60
Author: Marius Brehler <marius.brehler at iml.fraunhofer.de>
Date: 2022-01-27 (Thu, 27 Jan 2022)
Changed paths:
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/test/Target/Cpp/control_flow.mlir
Log Message:
-----------
[mlir] Don't emit unused labels
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 at iml.fraunhofer.de>
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D118154
More information about the All-commits
mailing list