Bugfix in InlineSpiller::traceSiblingValue().
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>
Thu, 11 Dec 2014 10:40:17 +0000 (10:40 +0000)
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>
Thu, 11 Dec 2014 10:40:17 +0000 (10:40 +0000)
commit40c2ddeffe8fc586235e7d0a11f047502731ea97
treeb8422de1ef614b348bd23f6722268c51a09f04e5
parentbcb1a626b6e0b5bc862d08c0ce8af078ca2f04df
Bugfix in InlineSpiller::traceSiblingValue().

Properly determine whether or not a phi was added by splitting.
Check against the current VNInfo of OrigLI instead of against the
OrigVNI argument.

Patch provided by Jonas Paulsson. Reviewed by Quentin Colombet.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224009 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/InlineSpiller.cpp