Strip trailing whitespace. NFCI.

llvm-svn: 273124
This commit is contained in:
Simon Pilgrim 2016-06-19 20:22:43 +00:00
parent 4fc9221616
commit 0c62bc0324
1 changed files with 2 additions and 2 deletions

View File

@ -30281,10 +30281,10 @@ static SDValue detectSADPattern(SDNode *N, SelectionDAG &DAG,
// If the reduction vector is at least as wide as the psadbw result, just
// bitcast. If it's narrower, truncate - the high i32 of each i64 is zero
// anyway.
MVT ResVT = MVT::getVectorVT(MVT::i32, RegSize / 32);
MVT ResVT = MVT::getVectorVT(MVT::i32, RegSize / 32);
if (VT.getSizeInBits() >= ResVT.getSizeInBits())
Sad = DAG.getNode(ISD::BITCAST, DL, ResVT, Sad);
else
else
Sad = DAG.getNode(ISD::TRUNCATE, DL, VT, Sad);
if (VT.getSizeInBits() > ResVT.getSizeInBits()) {