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)
commit6c0aee3248a2c06ab4690e2ba7a50edd0e0bf8f4
tree5ba25e8aa4768395867d4ce9de61631202454a11
parentc0286874d79938894183176510fa0433817a29d8
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.

llvm-svn: 225649
llvm/lib/IR/Metadata.cpp