Skip to content

Commit c7cedb4

Browse files
committed
adding comment
1 parent f9c4b9c commit c7cedb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/include/llvm/Frontend/HLSL/HLSLBinding.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ class BoundRegs {
148148

149149
const Binding *getReg(dxil::ResourceClass RC, uint32_t Space,
150150
uint32_t LowerBound) const {
151+
// UpperBound and Cookie are not used in operator<
151152
const Binding *It =
152153
llvm::upper_bound(Bindings, Binding{RC, Space, LowerBound, 0, nullptr});
153154
if (It == Bindings.begin())

0 commit comments

Comments
 (0)