[AArch64] Drive-by cleanup, make this code shorter. NFCI.
authorDavide Italiano <davide@freebsd.org>
Wed, 22 Mar 2017 23:37:58 +0000 (23:37 +0000)
committerDavide Italiano <davide@freebsd.org>
Wed, 22 Mar 2017 23:37:58 +0000 (23:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298563 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AArch64/AArch64SelectionDAGInfo.cpp

index fd4b48a29b71b3cfecc85ed588563411d1e3bf4b..7f5507371fa0341bf4af04dc999db3dc3469724c 100644 (file)
@@ -55,7 +55,5 @@ SDValue AArch64SelectionDAGInfo::EmitTargetCodeForMemset(
 }
 bool AArch64SelectionDAGInfo::generateFMAsInMachineCombiner(
     CodeGenOpt::Level OptLevel) const {
-  if (OptLevel >= CodeGenOpt::Aggressive)
-    return true;
-  return false;
+  return OptLevel >= CodeGenOpt::Aggressive;
 }