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)
commitcb06a36c9a5660567fcc97930a934a71eee672b8
treee4cbdd19244a88300d6d0aa3173107d50d634497
parentfc081457f1c7623373c54aad0ae6e883d09f7426
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.

llvm-svn: 224009
llvm/lib/CodeGen/InlineSpiller.cpp