Modify the LLVM assembly output so that it uses references to represent function...
authorBill Wendling <isanbard@gmail.com>
Wed, 20 Feb 2013 07:21:42 +0000 (07:21 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 20 Feb 2013 07:21:42 +0000 (07:21 +0000)
commit90bc19cd914c9870c1d1701b3a3e290b135c63b6
tree7736dc6d4af8aa2de18f78a625376295275cbd6a
parent8e60d4d240ebf86f8cc62d9a638f816ac255b875
Modify the LLVM assembly output so that it uses references to represent function attributes.

This makes the LLVM assembly look better. E.g.:

     define void @foo() #0 { ret void }
     attributes #0 = { nounwind noinline ssp }

llvm-svn: 175605
28 files changed:
llvm/lib/IR/AsmWriter.cpp
llvm/test/Analysis/BasicAA/intrinsics.ll
llvm/test/Analysis/BasicAA/pure-const-dce.ll
llvm/test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll
llvm/test/Analysis/TypeBasedAliasAnalysis/intrinsics.ll
llvm/test/Assembler/2008-09-02-FunctionNotes.ll
llvm/test/Assembler/unnamed-addr.ll
llvm/test/Bitcode/attributes.ll
llvm/test/Bitcode/ptest-new.ll
llvm/test/Bitcode/ptest-old.ll
llvm/test/Feature/attributes.ll [new file with mode: 0644]
llvm/test/Feature/intrinsics.ll
llvm/test/Feature/minsize_attr.ll
llvm/test/Other/constant-fold-gep.ll
llvm/test/Transforms/ArgumentPromotion/2008-02-01-ReturnAttrs.ll
llvm/test/Transforms/BBVectorize/simple-int.ll
llvm/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll
llvm/test/Transforms/DeadArgElim/2010-04-30-DbgInfo.ll
llvm/test/Transforms/DeadArgElim/keepalive.ll
llvm/test/Transforms/FunctionAttrs/2008-09-03-ReadNone.ll
llvm/test/Transforms/FunctionAttrs/2008-09-03-ReadOnly.ll
llvm/test/Transforms/FunctionAttrs/atomic.ll
llvm/test/Transforms/IPConstantProp/user-with-multiple-uses.ll
llvm/test/Transforms/Inline/inline_ssp.ll
llvm/test/Transforms/LoopDeletion/simplify-then-delete.ll
llvm/test/Transforms/ObjCARC/cfg-hazards.ll
llvm/test/Transforms/ObjCARC/weak-copies.ll
llvm/test/Transforms/SimplifyLibCalls/2009-01-04-Annotate.ll