Skip to content

Commit 3c28142

Browse files
Joao SaffranJoao Saffran
authored andcommitted
fix typo
1 parent cc304fd commit 3c28142

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Target/DirectX/DXILPostOptimizationValidation.cpp

Lines changed: 4 additions & 4 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 "
@@ -288,19 +288,19 @@ static void validateDescriptorTables(Module &M,
288288
Offset = Range.OffsetInDescriptorsFromTableStart;
289289

290290
if (Offset > ~0U)
291-
reportOverlowingRange(M, Range);
291+
reportOverflowingRange(M, Range);
292292
if (Range.NumDescriptors == ~0U) {
293293
AppendingOffset = (uint64_t)~0U + (uint64_t)1ULL;
294294
} else {
295295
uint64_t UpperBound = (uint64_t)Range.BaseShaderRegister +
296296
(uint64_t)Range.NumDescriptors - (uint64_t)1U;
297297
if (UpperBound > ~0U)
298-
reportOverlowingRange(M, Range);
298+
reportOverflowingRange(M, Range);
299299

300300
uint64_t AppendingUpperBound =
301301
(uint64_t)Offset + (uint64_t)Range.NumDescriptors - (uint64_t)1U;
302302
if (AppendingUpperBound > ~0U)
303-
reportOverlowingRange(M, Range);
303+
reportOverflowingRange(M, Range);
304304
AppendingOffset = Offset + Range.NumDescriptors;
305305
}
306306

0 commit comments

Comments
 (0)