Fix assertion failure in LLParser::ConvertValIDToValue
authorKarl Schimpf <kschimpf@google.com>
Thu, 3 Sep 2015 16:18:32 +0000 (16:18 +0000)
committerKarl Schimpf <kschimpf@google.com>
Thu, 3 Sep 2015 16:18:32 +0000 (16:18 +0000)
commite2dfa017cf26b6c99ece1505c6ebf78620622c70
tree090252baa528a664c95c311bd608e032503a72dc
parentf4165220d62f0bb5a8c2921dc37c951894181ab8
Fix assertion failure in LLParser::ConvertValIDToValue

Summary:
Fixes bug 24645. Problem appears to be that the type may be undefined
when ConvertValIDToValue is called.

Reviewers: kcc

Subscribers: llvm-commits

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246779 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLParser.h
test/Assembler/invalid-untyped-metadata.ll [new file with mode: 0644]