Skip to content

Commit e9cb52d

Browse files
committed
Rename typeMask to typeField
1 parent 9fd0f1a commit e9cb52d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2311,9 +2311,9 @@ struct AMDGPUMakeDmaBaseLowering
23112311
LLVM::TruncOp::create(rewriter, loc, i32, first57BitsOfGlobalAddr);
23122312
Value highHalf = LLVM::TruncOp::create(rewriter, loc, i32, shift);
23132313

2314-
Value typeMask = createI32Constant(rewriter, loc, 2 << 30);
2314+
Value typeField = createI32Constant(rewriter, loc, 2 << 30);
23152315
Value highHalfPlusType =
2316-
LLVM::OrOp::create(rewriter, loc, highHalf, typeMask);
2316+
LLVM::OrOp::create(rewriter, loc, highHalf, typeField);
23172317

23182318
Value c0 = createI32Constant(rewriter, loc, 0);
23192319
Value c1 = createI32Constant(rewriter, loc, 1);

0 commit comments

Comments
 (0)