diff --git a/lib/Target/Sparc/SparcJITInfo.cpp b/lib/Target/Sparc/SparcJITInfo.cpp index abac4279eaa..6493c7d464e 100644 --- a/lib/Target/Sparc/SparcJITInfo.cpp +++ b/lib/Target/Sparc/SparcJITInfo.cpp @@ -140,7 +140,6 @@ void SparcJITInfo::relocate(void *Function, MachineRelocation *MR, intptr_t ResultPtr = (intptr_t) MR->getResultPointer(); switch ((SP::RelocationType) MR->getRelocationType()) { - default: llvm_unreachable("Unknown reloc!"); case SP::reloc_sparc_hi: ResultPtr = (ResultPtr >> 10) & 0x3fffff; break;