SelectionDAGBuilder: Fix SPDescriptor not resetting GuardReg
authorMatthias Braun <matze@braunis.de>
Wed, 26 Aug 2015 20:46:52 +0000 (20:46 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 26 Aug 2015 20:46:52 +0000 (20:46 +0000)
commit143619a66d07b6d381083828c1810ab5809cf7cd
tree342efa771223b9e60127002abfdc0d1114a2da5d
parentf042f1cd8d78a8b25bddf06657441092554e08db
SelectionDAGBuilder: Fix SPDescriptor not resetting GuardReg

This was causing problems when some functions use a GuardReg and some
don't as can happen when mixing SelectionDAG and FastISel generated
functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246075 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
test/CodeGen/X86/fast-isel-stackcheck.ll [new file with mode: 0644]