diff options
author | Davide Italiano <davide@freebsd.org> | 2017-03-22 23:37:58 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2017-03-22 23:37:58 +0000 |
commit | 0145e751c472fa15ea41abf2930ca6facc8a733d (patch) | |
tree | 1d0185b448530a552ff9c6e60cfda2f56c12cf05 /llvm/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp | |
parent | 92c0653095f5db544ff52cfb72cc1726b2cdf345 (diff) | |
download | bcm5719-llvm-0145e751c472fa15ea41abf2930ca6facc8a733d.tar.gz bcm5719-llvm-0145e751c472fa15ea41abf2930ca6facc8a733d.zip |
[AArch64] Drive-by cleanup, make this code shorter. NFCI.
llvm-svn: 298563
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp')
-rw-r--r-- | llvm/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp b/llvm/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp index fd4b48a29b7..7f5507371fa 100644 --- a/llvm/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp +++ b/llvm/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp @@ -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; } |