diff options
| author | Davide Italiano <davide@freebsd.org> | 2016-02-23 18:39:38 +0000 |
|---|---|---|
| committer | Davide Italiano <davide@freebsd.org> | 2016-02-23 18:39:38 +0000 |
| commit | 62b7f7a398a46e7c6cbe6709fab3c5b04de653a3 (patch) | |
| tree | 75207c70e002e3a4a738769db8400d123a184973 /llvm/lib/Target | |
| parent | 5e0c3ebe9e5086f864eb7d156b79b5c1ab9db7cf (diff) | |
| download | bcm5719-llvm-62b7f7a398a46e7c6cbe6709fab3c5b04de653a3.tar.gz bcm5719-llvm-62b7f7a398a46e7c6cbe6709fab3c5b04de653a3.zip | |
[X86ISelLowering] Stop typing the same return over and over and over.
llvm-svn: 261666
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/X86/X86ISelLowering.cpp | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index a0a3cc5eb76..c4829fbbbfb 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -4043,17 +4043,20 @@ bool X86::isCalleePop(CallingConv::ID CallingConv, /// \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; } } |

