IR: Allow 32-bits for lines in debug location
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 6 Feb 2015 22:50:13 +0000 (22:50 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 6 Feb 2015 22:50:13 +0000 (22:50 +0000)
commitaf677ebb41036e950f0405becee6b530907bae41
tree9bacc443b22b695c59035b1e3a46f912fd75fc6d
parentacf8288669b63ad476e7e15ecf0e4c68e4fcb889
IR: Allow 32-bits for lines in debug location

Remove unnecessary restriction of 24-bits for line numbers in
`MDLocation`.

The rest of the debug info schema (with the exception of local
variables) uses 32-bits for line numbers.  As I introduce the
specialized nodes, it makes sense to canonicalize on one size or the
other.

llvm-svn: 228455
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/IR/DebugInfoMetadata.cpp
llvm/test/Assembler/invalid-mdlocation-overflow-line.ll
llvm/test/Assembler/mdlocation.ll
llvm/unittests/IR/MetadataTest.cpp