Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions llvm/lib/Analysis/DXILResource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -955,9 +955,7 @@ void DXILResourceBindingInfo::populate(Module &M, DXILResourceTypeMap &DRTM) {
// for each binding type and used spaces. Bindings are sorted by resource
// class, space, and lower bound register slot.
BindingSpaces *BS = &SRVSpaces;
for (unsigned I = 0, E = Bindings.size(); I != E; ++I) {
Binding &B = Bindings[I];

for (const Binding &B : Bindings) {
if (BS->RC != B.RC)
// move to the next resource class spaces
BS = &getBindingSpaces(B.RC);
Expand Down
Loading