R600: Remove an extra break in R600OptimizeVectorRegisters.cpp

llvm-svn: 183528
This commit is contained in:
Vincent Lejeune 2013-06-07 15:44:53 +00:00
parent 4fdf8d66a9
commit 931bb768fd

View File

@ -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");
}