[PATCH] D78912: [mlir] Fixed warning related to unused variable in Liveness.
Marcel Koester via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 27 05:20:17 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG8e640ca5a838: [mlir] Fixed warning related to unused variable in Liveness. (authored by dfki-mako).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78912/new/
https://reviews.llvm.org/D78912
Files:
mlir/lib/Analysis/Liveness.cpp
Index: mlir/lib/Analysis/Liveness.cpp
===================================================================
--- mlir/lib/Analysis/Liveness.cpp
+++ mlir/lib/Analysis/Liveness.cpp
@@ -297,7 +297,7 @@
// Local printing helpers
auto printValueRef = [&](Value value) {
- if (Operation *defOp = value.getDefiningOp())
+ if (value.getDefiningOp())
os << "val_" << valueIds[value];
else {
auto blockArg = value.cast<BlockArgument>();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78912.260286.patch
Type: text/x-patch
Size: 457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200427/80eba46c/attachment.bin>
More information about the llvm-commits
mailing list