[llvm] r312887 - [X86][SSE] Tidyup + clang-format combineX86ShuffleChain call. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 10 11:18:45 PDT 2017
Author: rksimon
Date: Sun Sep 10 11:18:45 2017
New Revision: 312887
URL: http://llvm.org/viewvc/llvm-project?rev=312887&view=rev
Log:
[X86][SSE] Tidyup + clang-format combineX86ShuffleChain call. 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=312887&r1=312886&r2=312887&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Sun Sep 10 11:18:45 2017
@@ -28403,9 +28403,8 @@ static bool combineX86ShufflesRecursivel
}
// Finally, try to combine into a single shuffle instruction.
- SDValue Res = combineX86ShuffleChain(Ops, Root, Mask, Depth, HasVariableMask, DAG,
- DCI, Subtarget);
- if (Res) {
+ if (SDValue Res = combineX86ShuffleChain(
+ Ops, Root, Mask, Depth, HasVariableMask, DAG, DCI, Subtarget)) {
DCI.CombineTo(Root.getNode(), Res, /*AddTo*/ true);
return true;
}
More information about the llvm-commits
mailing list