[cfe-commits] r105670 - /cfe/trunk/lib/CodeGen/CGExprScalar.cpp
Rafael Espindola
rafael.espindola at gmail.com
Tue Jun 8 19:17:08 PDT 2010
Author: rafael
Date: Tue Jun 8 21:17:08 2010
New Revision: 105670
URL: http://llvm.org/viewvc/llvm-project?rev=105670&view=rev
Log:
Fix a gcc warning.
Modified:
cfe/trunk/lib/CodeGen/CGExprScalar.cpp
Modified: cfe/trunk/lib/CodeGen/CGExprScalar.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGExprScalar.cpp?rev=105670&r1=105669&r2=105670&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGExprScalar.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGExprScalar.cpp Tue Jun 8 21:17:08 2010
@@ -580,7 +580,7 @@
Value *ScalarExprEmitter::VisitShuffleVectorExpr(ShuffleVectorExpr *E) {
// Vector Mask Case
if (E->getNumSubExprs() == 2 ||
- E->getNumSubExprs() == 3 && E->getExpr(2)->getType()->isVectorType()) {
+ (E->getNumSubExprs() == 3 && E->getExpr(2)->getType()->isVectorType())) {
Value* LHS = CGF.EmitScalarExpr(E->getExpr(0));
Value* RHS = CGF.EmitScalarExpr(E->getExpr(1));
Value* Mask;
More information about the cfe-commits
mailing list