[llvm] r272871 - [X86] Remove else after return. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 15 20:58:43 PDT 2016
Author: ctopper
Date: Wed Jun 15 22:58:42 2016
New Revision: 272871
URL: http://llvm.org/viewvc/llvm-project?rev=272871&view=rev
Log:
[X86] Remove else after return. NFC
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=272871&r1=272870&r2=272871&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Wed Jun 15 22:58:42 2016
@@ -10938,10 +10938,9 @@ static SDValue lowerShuffleAsRepeatedMas
int &R = RepeatMask[j];
if (0 != ((M % NumElts) / NumLaneElts))
return false;
- else if (0 <= R && R != M)
+ if (0 <= R && R != M)
return false;
- else
- R = M;
+ R = M;
}
return true;
};
More information about the llvm-commits
mailing list