change assert that will never fire to llvm_unreachable

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239497 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sanjay Patel 2015-06-10 23:27:33 +00:00
parent 294c7822a0
commit e0d6eef952

View File

@ -6424,7 +6424,7 @@ void X86InstrInfo::genAlternativeCodeSequence(
Pattern == MachineCombinerPattern::MC_REASSOC_XA_YB)
Prev = MRI.getUniqueVRegDef(Root.getOperand(2).getReg());
else
assert("Unknown pattern for machine combiner");
llvm_unreachable("Unknown pattern for machine combiner");
reassociateOps(Root, *Prev, Pattern, InsInstrs, DelInstrs, InstIdxForVirtReg);
return;