[llvm] r183601 - Fix unused variable warning from my previous patch.

JF Bastien jfb at google.com
Fri Jun 7 17:51:51 PDT 2013


Author: jfb
Date: Fri Jun  7 19:51:51 2013
New Revision: 183601

URL: http://llvm.org/viewvc/llvm-project?rev=183601&view=rev
Log:
Fix unused variable warning from my previous patch.

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

Modified: llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMFastISel.cpp?rev=183601&r1=183600&r2=183601&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMFastISel.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMFastISel.cpp Fri Jun  7 19:51:51 2013
@@ -2662,6 +2662,7 @@ unsigned ARMFastISel::ARMEmitIntExt(MVT
 
   unsigned SrcBits = SrcVT.getSizeInBits();
   unsigned DestBits = DestVT.getSizeInBits();
+  (void) DestBits;
   assert((SrcBits < DestBits) && "can only extend to larger types");
   assert((DestBits == 32 || DestBits == 16 || DestBits == 8) &&
          "other sizes unimplemented");





More information about the llvm-commits mailing list