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)
commit7ab6c76ad1cbf36284ca5b6bd5ee33c625fe3e60
tree3cc081ac6ea575accea7f12c2353aa175dfd5025
parent9030fc22dd73684901ecb749c9688e289bd1a777
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 }

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