From: Eric Christopher Date: Thu, 18 Mar 2010 21:58:33 +0000 (+0000) Subject: Couple of changes that Dan mentioned for llvm.stackprotector fast-isel. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=88dee30a6ed6979e253cc402e9b94082f60ad534;p=oota-llvm.git 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 4a39bd51672..5d3edbb9f9a 100644 --- a/lib/Target/X86/X86FastISel.cpp +++ b/lib/Target/X86/X86FastISel.cpp @@ -1177,8 +1177,8 @@ bool X86FastISel::X86VisitIntrinsicCall(IntrinsicInst &I) { 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: {