Fix inverted conditional (#11662)
This is a followup from #11629 that fixes a refactoring mistake (a
conditional was inverted and the issues only shows up when debugging).
diff --git a/compiler/src/iree/compiler/Codegen/Common/TransformDialectInterpreterPass.cpp b/compiler/src/iree/compiler/Codegen/Common/TransformDialectInterpreterPass.cpp
index 8b7a6a8..6b91c48 100644
--- a/compiler/src/iree/compiler/Codegen/Common/TransformDialectInterpreterPass.cpp
+++ b/compiler/src/iree/compiler/Codegen/Common/TransformDialectInterpreterPass.cpp
@@ -326,7 +326,7 @@
kTransformIreeTagAttrName,
StringAttr::get(&getContext(), kTransformIreeTagPayloadRootValue));
}
- if (!debugTransformRootTag.empty()) {
+ if (debugTransformRootTag.empty()) {
transformRegion->getParentOp()->setAttr(
kTransformIreeTagAttrName,
StringAttr::get(&getContext(),