Couple of changes that Dan mentioned for llvm.stackprotector fast-isel.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98881 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86FastISel.cpp b/lib/Target/X86/X86FastISel.cpp
index 4a39bd5..5d3edbb 100644
--- a/lib/Target/X86/X86FastISel.cpp
+++ b/lib/Target/X86/X86FastISel.cpp
@@ -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: {