Skip to content

Commit 940b928

Browse files
V-FEXrthekota
andauthored
Update llvm/include/llvm/Analysis/DXILResource.h
Co-authored-by: Helena Kotas <[email protected]>
1 parent 1202e86 commit 940b928

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

llvm/include/llvm/Analysis/DXILResource.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -597,13 +597,10 @@ class DXILResourceCounterDirectionMap {
597597
CounterDirections, Info,
598598
[](const auto &LHS, const auto &RHS) { return LHS.first < RHS; });
599599

600-
if (Lower == CounterDirections.end()) {
600+
if (Lower == CounterDirections.end())
601601
return ResourceCounterDirection::Unknown;
602-
}
603-
604-
if (Lower->first != Info) {
602+
if (Lower->first != Info)
605603
return ResourceCounterDirection::Unknown;
606-
}
607604

608605
return Lower->second;
609606
}

0 commit comments

Comments
 (0)