mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[AArch64] Fix -Wimplicit-fallthrough warnings. NFCI.
Add breaks - doesn't affect results as both GPR/FPU both check for 32/64 bit sizes. So will still default to GenericOps in the same way. llvm-svn: 307484
This commit is contained in:
parent
5d9ea7a075
commit
82a8d24e96
@ -214,6 +214,7 @@ static unsigned selectBinaryOp(unsigned GenericOpc, unsigned RegBankID,
|
||||
return GenericOpc;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case AArch64::FPRRegBankID:
|
||||
switch (OpSize) {
|
||||
case 32:
|
||||
@ -245,7 +246,8 @@ static unsigned selectBinaryOp(unsigned GenericOpc, unsigned RegBankID,
|
||||
return GenericOpc;
|
||||
}
|
||||
}
|
||||
};
|
||||
break;
|
||||
}
|
||||
return GenericOpc;
|
||||
}
|
||||
|
||||
@ -269,6 +271,7 @@ static unsigned selectLoadStoreUIOp(unsigned GenericOpc, unsigned RegBankID,
|
||||
case 64:
|
||||
return isStore ? AArch64::STRXui : AArch64::LDRXui;
|
||||
}
|
||||
break;
|
||||
case AArch64::FPRRegBankID:
|
||||
switch (OpSize) {
|
||||
case 8:
|
||||
@ -280,7 +283,8 @@ static unsigned selectLoadStoreUIOp(unsigned GenericOpc, unsigned RegBankID,
|
||||
case 64:
|
||||
return isStore ? AArch64::STRDui : AArch64::LDRDui;
|
||||
}
|
||||
};
|
||||
break;
|
||||
}
|
||||
return GenericOpc;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user