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

Eric Christopher echristo at apple.com
Thu Sep 9 17:35:09 PDT 2010


Author: echristo
Date: Thu Sep  9 19:35:09 2010
New Revision: 113566

URL: http://llvm.org/viewvc/llvm-project?rev=113566&view=rev
Log:
Fix build error.

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=113566&r1=113565&r2=113566&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMFastISel.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMFastISel.cpp Thu Sep  9 19:35:09 2010
@@ -826,7 +826,7 @@
   
   EVT DstVT;
   const Type *RetTy = I->getType();
-  if (!isTypeLegal(RetTy, VT))
+  if (!isTypeLegal(RetTy, DstVT))
     return false;
   
   unsigned Op = getRegForValue(I->getOperand(0));





More information about the llvm-commits mailing list