mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
Revert 93270 pending investigation of how stray non-constant values end up in ValueEnumerator's ValueList during WriteConstants()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93289 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
262a96edb4
commit
3047384a0f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user