Skip to content

Commit 774e166

Browse files
removing unnecessary changes
Signed-off-by: Muzammiluddin Syed <[email protected]>
1 parent fc0d7fb commit 774e166

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,6 +1329,7 @@ struct WMMAOpLowering : public ConvertOpToLLVMPattern<WMMAOp> {
13291329
rewriter, loc, destCType.clone(rewriter.getI16Type()), destC);
13301330

13311331
std::optional<StringRef> maybeIntrinsic = wmmaOpToIntrinsic(op, chipset);
1332+
13321333
if (!maybeIntrinsic.has_value())
13331334
return op.emitOpError("no intrinsic matching WMMA on the given chipset");
13341335

@@ -1351,6 +1352,7 @@ struct WMMAOpLowering : public ConvertOpToLLVMPattern<WMMAOp> {
13511352
loweredOp.addAttributes(attrs);
13521353
Operation *lowered = rewriter.create(loweredOp);
13531354
Operation *maybeCastBack = lowered;
1355+
13541356
if (rawOutType != outType)
13551357
maybeCastBack = LLVM::BitcastOp::create(rewriter, loc, outType,
13561358
lowered->getResult(0));

mlir/test/Target/LLVMIR/rocdl.mlir

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,6 @@ llvm.func @rocdl.wmma(%arg0 : vector<8xf32>, %arg1 : vector<16 x f16>, %arg2 : v
877877
%arg14 : vector<64xi32>, %arg15 : vector<64xf16>, %arg16 : vector<16xbf16>, %arg17 : vector<32xbf16>) -> vector<8xf32> {
878878

879879
// ---- Wave32 -----
880-
881880
// f16 -> f32
882881
// CHECK: call <8 x float> @llvm.amdgcn.wmma.f32.16x16x16.f16.v8f32.v16f16(<16 x half> %{{.*}} <16 x half> %{{.*}} <8 x float> %{{.*}})
883882
%r0 = rocdl.wmma.f32.16x16x16.f16 %arg1, %arg1, %arg0 : (vector<16xf16>, vector<16xf16>, vector<8xf32>) -> vector<8xf32>

0 commit comments

Comments
 (0)