[llvm-commits] [llvm] r169337 - /llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp

Matt Beaumont-Gay matthewbg at google.com
Tue Dec 4 15:54:03 PST 2012


Author: matthewbg
Date: Tue Dec  4 17:54:02 2012
New Revision: 169337

URL: http://llvm.org/viewvc/llvm-project?rev=169337&view=rev
Log:
Appease GCC's -Wparentheses.

(TIL that Clang's -Wparentheses ignores 'x || y && "foo"' on purpose. Neat.)

Modified:
    llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp

Modified: llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp?rev=169337&r1=169336&r2=169337&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp Tue Dec  4 17:54:02 2012
@@ -3660,8 +3660,8 @@
   EVT VT = N->getValueType(0);
 
   assert(ST->hasNEON() && "Custom ctpop lowering requires NEON.");
-  assert((VT == MVT::v2i32 || VT == MVT::v4i32) ||
-         (VT == MVT::v4i16 || VT == MVT::v8i16) &&
+  assert((VT == MVT::v2i32 || VT == MVT::v4i32 ||
+          VT == MVT::v4i16 || VT == MVT::v8i16) &&
          "Unexpected type for custom ctpop lowering");
 
   if (VT.getVectorElementType() == MVT::i32)





More information about the llvm-commits mailing list