Skip to content

Commit 913ea62

Browse files
committed
[AMDGPU] Add constructor to VecSlices in LowerBufferFatPointers
Followup to llvm#110572 to address buildbot failure at https://lab.llvm.org/buildbot/#/builders/108/builds/8346 .
1 parent 0fbec1e commit 913ea62

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,8 @@ class LegalizeBufferContentTypesVisitor
640640
uint64_t Index = 0;
641641
uint64_t Length = 0;
642642
VecSlice() = delete;
643+
// Needed for some Clangs
644+
VecSlice(uint64_t Index, uint64_t Length) : Index(Index), Length(Length) {}
643645
};
644646
/// Return the [index, length] pairs into which `T` needs to be cut to form
645647
/// legal buffer load or store operations. Clears `Slices`. Creates an empty

0 commit comments

Comments
 (0)