mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-03 19:32:35 +00:00
R600: Remove an extra break in R600OptimizeVectorRegisters.cpp
llvm-svn: 183528
This commit is contained in:
parent
4fdf8d66a9
commit
931bb768fd
@ -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