Skip to content

Commit 6e20bdf

Browse files
authored
Merge branch 'users/joaosaffran/153276' into validation/root-flags
2 parents 90c2578 + 3c28142 commit 6e20bdf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/lib/Target/DirectX/DXILPostOptimizationValidation.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ reportDescriptorTableMixingTypes(Module &M, uint32_t Location,
169169
}
170170

171171
static void
172-
reportOverlowingRange(Module &M, const dxbc::RTS0::v2::DescriptorRange &Range) {
172+
reportOverflowingRange(Module &M, const dxbc::RTS0::v2::DescriptorRange &Range) {
173173
SmallString<128> Message;
174174
raw_svector_ostream OS(Message);
175175
OS << "Cannot append range with implicit lower "
@@ -337,19 +337,19 @@ static void validateDescriptorTables(Module &M,
337337
Offset = Range.OffsetInDescriptorsFromTableStart;
338338

339339
if (Offset > ~0U)
340-
reportOverlowingRange(M, Range);
340+
reportOverflowingRange(M, Range);
341341
if (Range.NumDescriptors == ~0U) {
342342
AppendingOffset = (uint64_t)~0U + (uint64_t)1ULL;
343343
} else {
344344
uint64_t UpperBound = (uint64_t)Range.BaseShaderRegister +
345345
(uint64_t)Range.NumDescriptors - (uint64_t)1U;
346346
if (UpperBound > ~0U)
347-
reportOverlowingRange(M, Range);
348-
347+
reportOverflowingRange(M, Range);
348+
349349
uint64_t AppendingUpperBound =
350350
(uint64_t)Offset + (uint64_t)Range.NumDescriptors - (uint64_t)1U;
351351
if (AppendingUpperBound > ~0U)
352-
reportOverlowingRange(M, Range);
352+
reportOverflowingRange(M, Range);
353353
AppendingOffset = Offset + Range.NumDescriptors;
354354
}
355355

0 commit comments

Comments
 (0)