[llvm] r261666 - [X86ISelLowering] Stop typing the same return over and over and over.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 23 10:39:39 PST 2016
Author: davide
Date: Tue Feb 23 12:39:38 2016
New Revision: 261666
URL: http://llvm.org/viewvc/llvm-project?rev=261666&view=rev
Log:
[X86ISelLowering] Stop typing the same return over and over and over.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=261666&r1=261665&r2=261666&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Tue Feb 23 12:39:38 2016
@@ -4043,17 +4043,20 @@ bool X86::isCalleePop(CallingConv::ID Ca
/// \brief Return true if the condition is an unsigned comparison operation.
static bool isX86CCUnsigned(unsigned X86CC) {
switch (X86CC) {
- default: llvm_unreachable("Invalid integer condition!");
- case X86::COND_E: return true;
- case X86::COND_G: return false;
- case X86::COND_GE: return false;
- case X86::COND_L: return false;
- case X86::COND_LE: return false;
- case X86::COND_NE: return true;
- case X86::COND_B: return true;
- case X86::COND_A: return true;
- case X86::COND_BE: return true;
- case X86::COND_AE: return true;
+ default:
+ llvm_unreachable("Invalid integer condition!");
+ case X86::COND_E:
+ case X86::COND_NE:
+ case X86::COND_B:
+ case X86::COND_A:
+ case X86::COND_BE:
+ case X86::COND_AE:
+ return true;
+ case X86::COND_G:
+ case X86::COND_GE:
+ case X86::COND_L:
+ case X86::COND_LE:
+ return false;
}
}
More information about the llvm-commits
mailing list