Revert 93270 pending investigation of how stray non-constant values end up in ValueEnumerator's ValueList during WriteConstants()
llvm-svn: 93289
This commit is contained in:
@@ -688,11 +688,6 @@ static void WriteConstants(unsigned FirstVal, unsigned LastVal,
|
||||
Record.clear();
|
||||
continue;
|
||||
}
|
||||
|
||||
// Ignore all values in ValueList except for Constants.
|
||||
if (V && (isa<Instruction>(V) || isa<Argument>(V)))
|
||||
continue;
|
||||
|
||||
const Constant *C = cast<Constant>(V);
|
||||
unsigned Code = -1U;
|
||||
unsigned AbbrevToUse = 0;
|
||||
|
||||
Reference in New Issue
Block a user