[llvm] r291240 - Remove trailing whitespace. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 6 07:31:53 PST 2017
Author: rksimon
Date: Fri Jan 6 09:31:52 2017
New Revision: 291240
URL: http://llvm.org/viewvc/llvm-project?rev=291240&view=rev
Log:
Remove trailing whitespace. NFCI.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=291240&r1=291239&r2=291240&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Fri Jan 6 09:31:52 2017
@@ -30948,9 +30948,9 @@ static SDValue foldVectorXorShiftIntoCmp
return DAG.getNode(X86ISD::PCMPGT, SDLoc(N), VT, Shift.getOperand(0), Ones);
}
-/// Check if truncation with saturation form type \p SrcVT to \p DstVT
+/// Check if truncation with saturation form type \p SrcVT to \p DstVT
/// is valid for the given \p Subtarget.
-static bool
+static bool
isSATValidOnSubtarget(EVT SrcVT, EVT DstVT, const X86Subtarget &Subtarget) {
if (!Subtarget.hasAVX512())
return false;
@@ -30969,7 +30969,7 @@ isSATValidOnSubtarget(EVT SrcVT, EVT Dst
/// (truncate (umin (x, unsigned_max_of_dest_type)) to dest_type).
/// Return the source value to be truncated or SDValue() if the pattern was not
/// matched or the unsupported on the current target.
-static SDValue
+static SDValue
detectUSatPattern(SDValue In, EVT VT, const X86Subtarget &Subtarget) {
if (In.getOpcode() != ISD::UMIN)
return SDValue();
More information about the llvm-commits
mailing list