mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 17:24:48 +00:00
Avoid a compiler warning when assertions are turned off.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76176 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -648,6 +648,8 @@ SystemZInstrInfo::getOppositeCondition(SystemZCC::CondCodes CC) const {
|
||||
const TargetInstrDesc&
|
||||
SystemZInstrInfo::getLongDispOpc(unsigned Opc) const {
|
||||
switch (Opc) {
|
||||
default:
|
||||
assert(0 && "Don't have long disp version of this instruction");
|
||||
case SystemZ::MOV32mr: return get(SystemZ::MOV32mry);
|
||||
case SystemZ::MOV32rm: return get(SystemZ::MOV32rmy);
|
||||
case SystemZ::MOVSX32rm16: return get(SystemZ::MOVSX32rm16y);
|
||||
@ -666,8 +668,5 @@ SystemZInstrInfo::getLongDispOpc(unsigned Opc) const {
|
||||
case SystemZ::FMOV64rm: return get(SystemZ::FMOV64rmy);
|
||||
case SystemZ::MOV64Pmr: return get(SystemZ::MOV64Pmry);
|
||||
case SystemZ::MOV64Prm: return get(SystemZ::MOV64Prmy);
|
||||
default:
|
||||
assert(0 && "Don't have long disp version of this instruction");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user