mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 15:33:33 +00:00
R600: Remove an extra break in R600OptimizeVectorRegisters.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183528 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b6564648a5
commit
74f03455e5
@ -164,10 +164,8 @@ unsigned getReassignedChan(
|
||||
const std::vector<std::pair<unsigned, unsigned> > &RemapChan,
|
||||
unsigned Chan) {
|
||||
for (unsigned j = 0, je = RemapChan.size(); j < je; j++) {
|
||||
if (RemapChan[j].first == Chan) {
|
||||
if (RemapChan[j].first == Chan)
|
||||
return RemapChan[j].second;
|
||||
break;
|
||||
}
|
||||
}
|
||||
llvm_unreachable("Chan wasn't reassigned");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user