summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-03-18 21:58:33 +0000
committerEric Christopher <echristo@apple.com>2010-03-18 21:58:33 +0000
commit5e95aee159718dc80d300a351a254cf7d7c68dc3 (patch)
treea146c64695da689187de18159a8e7b865f09d88e /llvm
parent2ca11082548627aac8fe71dceb754b1cde77a39d (diff)
downloadbcm5719-llvm-5e95aee159718dc80d300a351a254cf7d7c68dc3.tar.gz
bcm5719-llvm-5e95aee159718dc80d300a351a254cf7d7c68dc3.zip
Couple of changes that Dan mentioned for llvm.stackprotector fast-isel.
llvm-svn: 98881
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/X86/X86FastISel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp
index 4a39bd51672..5d3edbb9f9a 100644
--- a/llvm/lib/Target/X86/X86FastISel.cpp
+++ b/llvm/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: {
OpenPOWER on IntegriCloud