summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2015-11-13 13:00:27 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2015-11-13 13:00:27 +0000
commit19d24d2699590ec0cd1f271738704f0cb71dd550 (patch)
treeae441b1820c812ba032a89042b34d00dd92139a1 /llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
parent7e3c7ee0b19962088af164f63fededb28e30795b (diff)
downloadbcm5719-llvm-19d24d2699590ec0cd1f271738704f0cb71dd550.tar.gz
bcm5719-llvm-19d24d2699590ec0cd1f271738704f0cb71dd550.zip
[SystemZ] Simplify boolean conditional return statements
Use clang-tidy to simplify conditonal return statements. Author: LegalizeAdulthood Differential Revision: http://reviews.llvm.org/D9986 llvm-svn: 253038
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZISelLowering.cpp')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZISelLowering.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
index f598bc0189d..fa9ee6e2eeb 100644
--- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
@@ -775,9 +775,7 @@ bool SystemZTargetLowering::allowTruncateForTailCall(Type *FromType,
}
bool SystemZTargetLowering::mayBeEmittedAsTailCall(CallInst *CI) const {
- if (!CI->isTailCall())
- return false;
- return true;
+ return CI->isTailCall();
}
// We do not yet support 128-bit single-element vector types. If the user
OpenPOWER on IntegriCloud