[stackprotector] Allow for copies from vreg -> vreg to be in a terminator sequence.
authorMichael Gottesman <mgottesman@apple.com>
Tue, 24 Sep 2013 01:50:26 +0000 (01:50 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Tue, 24 Sep 2013 01:50:26 +0000 (01:50 +0000)
commiteed779ff68c9a4612ea229f4fbd23a5258458889
tree31461d5c5380c25c77e0c926f8e82f30c0c88ce0
parent17f013265f00b8df07438a648c02873888477e36
[stackprotector] Allow for copies from vreg -> vreg to be in a terminator sequence.

Sometimes a copy from a vreg -> vreg sneaks into the middle of a terminator
sequence. It is safe to slice this into the stack protector success bb.

This fixes PR16979.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191260 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
test/CodeGen/X86/stack-protector-vreg-to-vreg-copy.ll [new file with mode: 0644]