summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2017-10-21 20:40:49 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2017-10-21 20:40:49 +0000
commitab6dbe2b29822239ae9a567d4378037ee0865bb1 (patch)
tree6dc28ee11951a1d3841b106c3dc13ff3348b912c /llvm/lib
parentfc02869c969d938f6bd8973700bf431c59e4c266 (diff)
downloadbcm5719-llvm-ab6dbe2b29822239ae9a567d4378037ee0865bb1.tar.gz
bcm5719-llvm-ab6dbe2b29822239ae9a567d4378037ee0865bb1.zip
Strip trailing whitespace. NFCI.
llvm-svn: 316277
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86InstrInfo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.cpp b/llvm/lib/Target/X86/X86InstrInfo.cpp
index 9a64c357f02..e3611a83a1b 100644
--- a/llvm/lib/Target/X86/X86InstrInfo.cpp
+++ b/llvm/lib/Target/X86/X86InstrInfo.cpp
@@ -10793,7 +10793,7 @@ llvm::createCleanupLocalDynamicTLSPass() { return new LDTLSCleanup(); }
///
/// * 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::getOutlininingCandidateInfo(
MachineOutlinerTailCall, // Type of call.
MachineOutlinerTailCall // Type of frame.
);
-
+
return MachineOutlinerInfo(1, 1, MachineOutlinerDefault,
MachineOutlinerDefault);
}
@@ -10836,12 +10836,12 @@ bool X86InstrInfo::isFunctionSafeToOutlineFrom(MachineFunction &MF,
// 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;
}
OpenPOWER on IntegriCloud