We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1893a37 commit 31f4559Copy full SHA for 31f4559
mlir/unittests/Dialect/SPIRV/SerializationTest.cpp
@@ -77,7 +77,7 @@ class SerializationTest : public ::testing::Test {
77
}
78
79
// Inserts an Integer or a Vector of Integers constant of value 'val'.
80
- spirv::ConstantOp AddConstInt(Type type, APInt val) {
+ spirv::ConstantOp AddConstInt(Type type, const APInt &val) {
81
OpBuilder builder(module->getRegion());
82
auto loc = UnknownLoc::get(&context);
83
0 commit comments