mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-05 12:31:46 +00:00
R600: Unbreak GCC build.
operator++ on an enum is not legal. clang happens to accept it anyways, I think that's a known bug. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185269 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8f9fbd67c3
commit
97daabf318
@ -398,7 +398,8 @@ NextPossibleSolution(
|
||||
}
|
||||
if (ResetIdx == -1)
|
||||
return false;
|
||||
SwzCandidate[ResetIdx]++;
|
||||
int NextSwizzle = SwzCandidate[ResetIdx] + 1;
|
||||
SwzCandidate[ResetIdx] = (R600InstrInfo::BankSwizzle)NextSwizzle;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user