Skip to content

Commit c8bb79a

Browse files
committed
Fix error
1 parent 67f9a5c commit c8bb79a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2967,14 +2967,14 @@ static bool isX86CCUnsigned(X86::CondCode X86CC) {
29672967
case X86::COND_BE:
29682968
case X86::COND_AE:
29692969
return true;
2970+
default:
2971+
llvm_unreachable("Invalid integer condition!");
29702972
case X86::COND_E:
29712973
case X86::COND_NE:
29722974
case X86::COND_G:
29732975
case X86::COND_GE:
29742976
case X86::COND_L:
29752977
case X86::COND_LE:
2976-
default:
2977-
llvm_unreachable("Invalid integer condition!");
29782978
return false;
29792979
}
29802980
}

0 commit comments

Comments
 (0)