[llvm-commits] [llvm] r147966 - /llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
Chad Rosier
mcrosier at apple.com
Wed Jan 11 13:57:03 PST 2012
Thanks, Eric.
On Jan 11, 2012, at 12:55 PM, Eric Christopher wrote:
> 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;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list