================
@@ -36,6 +36,18 @@ class ScalarExprEmitter : public
StmtVisitor<ScalarExprEmitter, mlir::Value> {
bool ira = false)
: cgf(cgf), builder(builder), ignoreResultAssign(ira) {}
+
//===--------------------------------------------------------------------===//
+ // Utilities
+
//===--------------------------------------------------------------------===//
+
+ bool TestAndClearIgnoreResultAssign() {
----------------
mmha wrote:
I noticed that the underlying variable is never read from, making this dead
code. I removed it.
https://github.com/llvm/llvm-project/pull/130690
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits