[llvm] r306369 - Fixed the warning introduced by r306289 to make ubuntu-gcc7.1-werror bot green.
Galina Kistanova via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 26 23:58:57 PDT 2017
Author: gkistanova
Date: Mon Jun 26 23:58:57 2017
New Revision: 306369
URL: http://llvm.org/viewvc/llvm-project?rev=306369&view=rev
Log:
Fixed the warning introduced by r306289 to make ubuntu-gcc7.1-werror bot green.
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=306369&r1=306368&r2=306369&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Mon Jun 26 23:58:57 2017
@@ -35072,7 +35072,7 @@ static SDValue combineLoopSADPattern(SDN
/// that is commonly recognized as an idiom (has no register dependency), so
/// that's better/smaller than loading a splat 1 constant.
static SDValue combineIncDecVector(SDNode *N, SelectionDAG &DAG) {
- assert(N->getOpcode() == ISD::ADD || N->getOpcode() == ISD::SUB &&
+ assert((N->getOpcode() == ISD::ADD || N->getOpcode() == ISD::SUB) &&
"Unexpected opcode for increment/decrement transform");
// Pseudo-legality check: getOnesVector() expects one of these types, so bail
More information about the llvm-commits
mailing list