[llvm] r316277 - Strip trailing whitespace. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 21 13:40:49 PDT 2017
Author: rksimon
Date: Sat Oct 21 13:40:49 2017
New Revision: 316277
URL: http://llvm.org/viewvc/llvm-project?rev=316277&view=rev
Log:
Strip trailing whitespace. NFCI.
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.cpp?rev=316277&r1=316276&r2=316277&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.cpp Sat Oct 21 13:40:49 2017
@@ -10793,7 +10793,7 @@ llvm::createCleanupLocalDynamicTLSPass()
///
/// * Call construction overhead: 1 (call instruction)
/// * Frame construction overhead: 1 (return instruction)
-///
+///
/// \p MachineOutlinerTailCall implies that the function is being tail called.
/// A jump is emitted instead of a call, and the return is already present in
/// the outlined sequence. That is,
@@ -10823,7 +10823,7 @@ X86InstrInfo::getOutlininingCandidateInf
MachineOutlinerTailCall, // Type of call.
MachineOutlinerTailCall // Type of frame.
);
-
+
return MachineOutlinerInfo(1, 1, MachineOutlinerDefault,
MachineOutlinerDefault);
}
@@ -10836,12 +10836,12 @@ bool X86InstrInfo::isFunctionSafeToOutli
// with the stack.
if (!F->hasFnAttribute(Attribute::NoRedZone))
return false;
-
+
// If we *don't* want to outline from things that could potentially be deduped
// then return false.
if (!OutlineFromLinkOnceODRs && F->hasLinkOnceODRLinkage())
return false;
-
+
// This function is viable for outlining, so return true.
return true;
}
More information about the llvm-commits
mailing list