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
This commit is contained in:
Eric Christopher 2010-03-18 21:58:33 +00:00
parent 9fdac902d4
commit 88dee30a6e

View File

@ -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: {