[llvm-commits] [llvm] r74630 - in /llvm/trunk: lib/AsmParser/LLParser.cpp lib/AsmParser/LLParser.h lib/VMCore/AsmWriter.cpp test/Feature/mdnode2.ll

Chris Lattner clattner at apple.com
Wed Jul 1 16:25:49 PDT 2009


On Jul 1, 2009, at 12:21 PM, Devang Patel wrote:

> Author: dpatel
> Date: Wed Jul  1 14:21:12 2009
> New Revision: 74630
>
> URL: http://llvm.org/viewvc/llvm-project?rev=74630&view=rev
> Log:
> Support stand alone metadata syntax.
>
> !0 = constant metadata !{i32 21, i32 22}

Why "constant"?  MD has no linkage and all are constants?  Your  
parsing logic throws away "isconstant".

-Chris




More information about the llvm-commits mailing list