aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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
commit88dee30a6ed6979e253cc402e9b94082f60ad534 (patch)
treeae4349076a7e88902478cbd1140f3247cd554b0b /lib
parent9fdac902d4300f2b0b8f4830ff276cc8199864b5 (diff)
downloadexternal_llvm-88dee30a6ed6979e253cc402e9b94082f60ad534.zip
external_llvm-88dee30a6ed6979e253cc402e9b94082f60ad534.tar.gz
external_llvm-88dee30a6ed6979e253cc402e9b94082f60ad534.tar.bz2
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
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/X86FastISel.cpp4
1 files changed, 2 insertions, 2 deletions
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 @@ 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: {