[llvm-commits] [llvm] r116683 -	/llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
    Eric Christopher 
    echristo at apple.com
       
    Sat Oct 16 23:07:26 PDT 2010
    
    
  
Author: echristo
Date: Sun Oct 17 01:07:26 2010
New Revision: 116683
URL: http://llvm.org/viewvc/llvm-project?rev=116683&view=rev
Log:
Allow more load types to be materialized through the allocas.
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=116683&r1=116682&r2=116683&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMFastISel.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMFastISel.cpp Sun Oct 17 01:07:26 2010
@@ -523,7 +523,7 @@
   if (!FuncInfo.StaticAllocaMap.count(AI)) return 0;
 
   EVT VT;
-  if (!isTypeLegal(AI->getType(), VT)) return false;
+  if (!isLoadTypeLegal(AI->getType(), VT)) return false;
 
   DenseMap<const AllocaInst*, int>::iterator SI =
     FuncInfo.StaticAllocaMap.find(AI);
    
    
More information about the llvm-commits
mailing list