Skip to content
This repository was archived by the owner on Sep 2, 2018. It is now read-only.

Commit 9546f71

Browse files
author
Dylan McKay
committed
[AVR] Removed existing default statement from ReplaceNodeResults
oops
1 parent fa6adf7 commit 9546f71

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/Target/AVR/AVRISelLowering.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -688,8 +688,6 @@ void AVRTargetLowering::ReplaceNodeResults(SDNode *N,
688688

689689
switch (N->getOpcode())
690690
{
691-
default:
692-
llvm_unreachable("Don't know how to custom expand this!");
693691
case ISD::ADD:
694692
{
695693
// Convert add (x, imm) into sub (x, -imm).
@@ -700,7 +698,6 @@ void AVRTargetLowering::ReplaceNodeResults(SDNode *N,
700698
DAG.getConstant(-C->getAPIntValue(),
701699
DL, C->getValueType(0)));
702700
Results.push_back(Sub);
703-
return;
704701
}
705702
break;
706703
}

0 commit comments

Comments
 (0)