IR: Don't allow operands to become unresolved
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 12 Jan 2015 18:59:40 +0000 (18:59 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 12 Jan 2015 18:59:40 +0000 (18:59 +0000)
commit54b53edbd9e0226cc1669ac12e96aa24f7690c2f
tree5df5f573527f6e8ffdac63fd903f5c672f2b8647
parent1478aabb18fa01244325f25e87f3bc5a3c2d67f0
IR: Don't allow operands to become unresolved

Operands shouldn't change from being resolved to unresolved during graph
construction.  Simplify the logic based on that assumption.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225649 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Metadata.cpp