[llvm-commits] [llvm] r98881 - /llvm/trunk/lib/Target/X86/X86FastISel.cpp

Eric Christopher echristo at apple.com
Thu Mar 18 14:58:33 PDT 2010


Author: echristo
Date: Thu Mar 18 16:58:33 2010
New Revision: 98881

URL: http://llvm.org/viewvc/llvm-project?rev=98881&view=rev
Log:
Couple of changes that Dan mentioned for llvm.stackprotector fast-isel.

Modified:
    llvm/trunk/lib/Target/X86/X86FastISel.cpp

Modified: llvm/trunk/lib/Target/X86/X86FastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86FastISel.cpp?rev=98881&r1=98880&r2=98881&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86FastISel.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86FastISel.cpp Thu Mar 18 16:58:33 2010
@@ -1177,8 +1177,8 @@
     X86AddressMode AM;
     if (!X86SelectAddress(Slot, AM)) return false;
     
-    X86FastEmitStore(PtrTy, Op1, AM);
-    UpdateValueMap(&I, getRegForValue(Op1));
+    if (!X86FastEmitStore(PtrTy, Op1, AM)) return false;
+    
     return true;
   }
   case Intrinsic::objectsize: {





More information about the llvm-commits mailing list