mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
[lldb] Fix a warning
This patch fixes: lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.cpp:1402:18: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
This commit is contained in:
@@ -1399,8 +1399,6 @@ public:
|
||||
case FLE:
|
||||
return inst.rd.Write(m_emu, rs1.compare(rs2) !=
|
||||
APFloat::cmpGreaterThan);
|
||||
default:
|
||||
llvm_unreachable("Invalid F_CMP");
|
||||
}
|
||||
})
|
||||
.value_or(false);
|
||||
|
||||
Reference in New Issue
Block a user