Skip to content

Commit ef1da3e

Browse files
Sair Teamcopybara-github
Sair Team
authored andcommitted
Internal change
PiperOrigin-RevId: 328993192
1 parent a4635bd commit ef1da3e

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

sair_base.td

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ def SairDialect : Dialect {
2828
loosing the high-level structure of the code (hence the "additive" part of
2929
the name).
3030
}];
31+
32+
let cppNamespace = "::sair";
3133
}
3234

3335
//===----------------------------------------------------------------------===//

sair_ops.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1378,7 +1378,7 @@ llvm::SmallBitVector SairFbyOp::MustFuseDimensions(int sair_operand) {
13781378
return mask;
13791379
}
13801380

1381+
} // namespace sair
1382+
13811383
#define GET_OP_CLASSES
13821384
#include "sair_ops.cc.inc"
1383-
1384-
} // namespace sair

sair_ops.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,12 @@ namespace sair {
3636
// `second`.
3737
OperandRange ChainOperandRanges(OperandRange first, OperandRange second);
3838

39-
using namespace mlir; // NOLINT - Required by the MLIR infrastructure.
39+
} // namespace sair
40+
4041
#define GET_OP_CLASSES
4142
#include "sair_ops.h.inc"
4243

44+
namespace sair {
4345
// Parses the declaration of an iteration domain. Appends the dimensions that
4446
// compose the domain to 'dimensions' and their names to 'dim_names' with the
4547
// name that the domain binds to each dimension. The syntax for iteration

0 commit comments

Comments
 (0)