Fix assert assembling zero-argument constant GEP.
authorEli Friedman <eli.friedman@gmail.com>
Fri, 24 Jul 2009 21:56:17 +0000 (21:56 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Fri, 24 Jul 2009 21:56:17 +0000 (21:56 +0000)
commit5c9cdb3e3a2cd9c6cc8dde8501a68c540d6f308d
tree3712bc265b2ee9258e74609d89ed79724d152a27
parentc64ce30c675f77ebb00d559e2f20a9d678966c4f
Fix assert assembling zero-argument constant GEP.

There's still a strict-aliasing violation here, but I don't feel like
dealing with that right now...

llvm-svn: 77005
llvm/lib/AsmParser/LLParser.cpp
llvm/test/Assembler/2009-07-24-ZeroArgGEP.ll [new file with mode: 0644]