Skip to content

Commit 77800db

Browse files
committed
chore: remove unused header & code
1 parent 889cb69 commit 77800db

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

mlir/lib/Dialect/PDL/IR/Builtins.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#include <cassert>
22
#include <cstdint>
3-
#include <iostream>
43
#include <llvm/ADT/APFloat.h>
54
#include <llvm/ADT/APInt.h>
65
#include <llvm/ADT/APSInt.h>
@@ -112,16 +111,8 @@ LogicalResult static unaryOp(PatternRewriter &rewriter, PDLResultList &results,
112111
return success();
113112
}
114113
if (integerType.isSignless()) {
115-
auto resultVal = rewriter.getIntegerAttr(
116-
integerType, std::abs(operandIntAttr.getInt()));
117114
results.push_back(rewriter.getIntegerAttr(
118115
integerType, std::abs(operandIntAttr.getInt())));
119-
120-
std::cout << "Input: "
121-
<< (uint8_t)operandIntAttr.getValue().getZExtValue()
122-
<< std::endl;
123-
std::cout << "Result store in IntegerAttr: " << resultVal.getInt()
124-
<< std::endl;
125116
return success();
126117
}
127118
// If unsigned, don't do anything

0 commit comments

Comments
 (0)