[llvm-commits] [llvm] r147966 - /llvm/trunk/lib/Target/ARM/ARMFastISel.cpp

Eric Christopher echristo at apple.com
Wed Jan 11 12:55:27 PST 2012


Author: echristo
Date: Wed Jan 11 14:55:27 2012
New Revision: 147966

URL: http://llvm.org/viewvc/llvm-project?rev=147966&view=rev
Log:
Fix assert.

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=147966&r1=147965&r2=147966&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMFastISel.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMFastISel.cpp Wed Jan 11 14:55:27 2012
@@ -2275,9 +2275,9 @@
     bool RV;
     unsigned ResultReg;
     RV = ARMEmitLoad(VT, ResultReg, Src);
-    assert (RV = true && "Should be able to handle this load.");
+    assert (RV == true && "Should be able to handle this load.");
     RV = ARMEmitStore(VT, ResultReg, Dest);
-    assert (RV = true && "Should be able to handle this store.");
+    assert (RV == true && "Should be able to handle this store.");
 
     unsigned Size = VT.getSizeInBits()/8;
     Len -= Size;





More information about the llvm-commits mailing list