mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-07 01:38:26 +00:00
[mips] Actually mark that the default case is unreachable as this switch
is over a subset of condition codes. This fixes the -Werror build which warns about use of uninitialized variables in the default case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219531 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
704d4277aa
commit
9a0be5bfd9
@ -673,7 +673,7 @@ bool MipsFastISel::SelectCmp(const Instruction *I) {
|
||||
CondMovOpc = Mips::MOVF_I;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
llvm_unreachable("Only switching of a subset of CCs.");
|
||||
}
|
||||
unsigned RegWithZero = createResultReg(&Mips::GPR32RegClass);
|
||||
unsigned RegWithOne = createResultReg(&Mips::GPR32RegClass);
|
||||
|
Loading…
x
Reference in New Issue
Block a user