Fix the .ll grammar rules to allow any type before an 'i32', not just an
authorChris Lattner <sabre@nondot.org>
Wed, 15 Oct 2008 06:16:45 +0000 (06:16 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 15 Oct 2008 06:16:45 +0000 (06:16 +0000)
commitc7e3069bfa8d505cf25637b35a5f518ac616850d
tree531c10bbd6f8046eb6ca3ad4d5e1030534088ef1
parentf9078f99d9ee85d710b2aa51134f7b09b1122e72
Fix the .ll grammar rules to allow any type before an 'i32', not just an
integer type.  Invalid things like 'float 42' are now rejected by the
semantic analysis in the productions not the parser.  This fixes PR2733.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57560 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/llvmAsmParser.y
test/Assembler/2008-10-14-NamedTypeOnInteger.ll [new file with mode: 0644]