Fix QOpcode assignment to Opc.
authorEric Christopher <echristo@apple.com>
Tue, 14 Sep 2010 08:31:25 +0000 (08:31 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 14 Sep 2010 08:31:25 +0000 (08:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113837 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMISelDAGToDAG.cpp

index 5cfeb290fe27acf6da4653369e962d94990a91b4..57c41c414da49282454be01a253e27559c026f04 100644 (file)
@@ -1278,8 +1278,8 @@ SDNode *ARMDAGToDAGISel::SelectVLDSTLane(SDNode *N, bool IsLoad,
   Ops.push_back(MemAddr);
   Ops.push_back(Align);
 
-  unsigned Opc = (is64BitVector ? DOpcodes[OpcodeIndex] :
-                  Opc = QOpcodes[OpcodeIndex]);
+  unsigned Opc = (is64BitVector ? DOpcodes[OpcodeIndex] : 
+                                  QOpcodes[OpcodeIndex]);
 
   SDValue SuperReg;
   SDValue V0 = N->getOperand(0+3);