Skip to content

Commit 298ac7f

Browse files
committed
bump llvm
1 parent 15a4d66 commit 298ac7f

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

cmake/llvm-hash.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0ea4fb92648b2aa7cbab486bb493e122b4dcc062
1+
71a977d0d611f3e9f6137a6b8a26b730b2886ce9

third_party/amd/lib/TritonAMDGPUToLLVM/LoadStoreOpToLLVM.cpp

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -588,12 +588,17 @@ struct AsyncCopyGlobalToLocalOpConversion
588588
// size
589589
for (int i = 0; i < shmemAddrs.size(); i++) {
590590
auto srcIdx = i * maxVec;
591-
auto srcPtr = srcElems[srcIdx];
591+
Value srcPtr = srcElems[srcIdx];
592592

593593
if (maskElems.empty()) {
594594
rewriter.create<ROCDL::GlobalLoadLDSOp>(
595-
loc, srcPtr, shmemAddrs[i], vecBytesVal, /*offset=*/b.i32_val(0),
596-
cacheModifiers);
595+
loc,
596+
/*globalPtr*/ srcPtr,
597+
/*ldsPtr*/ shmemAddrs[i],
598+
/*size*/ vecBytesVal,
599+
/*offset=*/b.i32_val(0),
600+
/*aux*/ cacheModifiers, /*alias_scopes*/ nullptr,
601+
/*noalias_scopes*/ nullptr, /*tbaa*/ nullptr);
597602
continue;
598603
}
599604

@@ -607,7 +612,7 @@ struct AsyncCopyGlobalToLocalOpConversion
607612
rewriter.setInsertionPointToStart(loadBlock);
608613
rewriter.create<ROCDL::GlobalLoadLDSOp>(
609614
loc, srcPtr, shmemAddrs[i], vecBytesVal, /*offset=*/b.i32_val(0),
610-
cacheModifiers);
615+
cacheModifiers, nullptr, nullptr, nullptr);
611616

612617
rewriter.create<LLVM::BrOp>(loc, afterLoad);
613618
rewriter.setInsertionPointToStart(afterLoad);

0 commit comments

Comments
 (0)