Skip to content

Commit bba3ba2

Browse files
llvm/llvm-project#162120 removed some automatic namespace determinations, so we need to explicitly specify some namespaces now. This is needed
for the LLVM integrate. PiperOrigin-RevId: 820713725
1 parent 1209728 commit bba3ba2

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

xla/backends/gpu/codegen/emitters/ir/xla_gpu_ops.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,5 +282,6 @@ void SyncThreadsOp::getAsmResultNames(
282282
} // namespace gpu
283283
} // namespace xla
284284

285+
using mlir::DenseI64ArrayAttr;
285286
#define GET_OP_CLASSES
286287
#include "xla/backends/gpu/codegen/emitters/ir/xla_gpu_ops.cc.inc"

xla/mlir_hlo/mhlo/IR/hlo_ops.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6614,6 +6614,10 @@ using mlir::hlo::printSelectOpType;
66146614
using mlir::hlo::printTupleOpType;
66156615
using mlir::hlo::printVariadicSameOperandsAndResultType;
66166616

6617+
using namespace mlir; // NOLINT
6618+
using mlir::mhlo::AsyncBundleType;
6619+
using mlir::mhlo::TokenType;
6620+
66176621
#define GET_OP_CLASSES
66186622
#include "mhlo/IR/hlo_ops.cc.inc"
66196623

0 commit comments

Comments
 (0)