Use references to attribute groups on the call/invoke instructions.
authorBill Wendling <isanbard@gmail.com>
Fri, 22 Feb 2013 09:09:42 +0000 (09:09 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 22 Feb 2013 09:09:42 +0000 (09:09 +0000)
commit351b7a10e2560a835759748c58da09e53207b39d
tree9e96a49def7e558db064f4bcbc0ff8e22dfb7dcf
parent00ddc5a7274fb4131f1a724bc350fd756156a80f
Use references to attribute groups on the call/invoke instructions.

Listing all of the attributes for the callee of a call/invoke instruction is way
too much and makes the IR unreadable. Use references to attributes instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175877 91177308-0d34-0410-b5e6-96231b3b80d8
40 files changed:
lib/IR/AsmWriter.cpp
test/Analysis/BasicAA/intrinsics.ll
test/Analysis/BasicAA/pure-const-dce.ll
test/Analysis/TypeBasedAliasAnalysis/intrinsics.ll
test/Transforms/ArgumentPromotion/2008-02-01-ReturnAttrs.ll
test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll
test/Transforms/DeadArgElim/2010-04-30-DbgInfo.ll
test/Transforms/IPConstantProp/user-with-multiple-uses.ll
test/Transforms/Inline/inline_invoke.ll
test/Transforms/InstCombine/2012-04-23-Neon-Intrinsics.ll
test/Transforms/InstCombine/getelementptr.ll
test/Transforms/InstCombine/pow-1.ll
test/Transforms/JumpThreading/basic.ll
test/Transforms/LoopUnswitch/2011-11-18-SimpleSwitch.ll
test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches-Threshold.ll
test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches.ll
test/Transforms/LoopUnswitch/infinite-loop.ll
test/Transforms/MemCpyOpt/memcpy.ll
test/Transforms/ObjCARC/apelim.ll
test/Transforms/ObjCARC/basic.ll
test/Transforms/ObjCARC/cfg-hazards.ll
test/Transforms/ObjCARC/contract-marker.ll
test/Transforms/ObjCARC/contract-storestrong.ll
test/Transforms/ObjCARC/contract-testcases.ll
test/Transforms/ObjCARC/contract.ll
test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll
test/Transforms/ObjCARC/escape.ll
test/Transforms/ObjCARC/invoke.ll
test/Transforms/ObjCARC/move-and-form-retain-autorelease.ll
test/Transforms/ObjCARC/nested.ll
test/Transforms/ObjCARC/retain-block-alloca.ll
test/Transforms/ObjCARC/retain-block-side-effects.ll
test/Transforms/ObjCARC/retain-block.ll
test/Transforms/ObjCARC/retain-not-declared.ll
test/Transforms/ObjCARC/rle-s2l.ll
test/Transforms/ObjCARC/rv.ll
test/Transforms/ObjCARC/split-backedge.ll
test/Transforms/ObjCARC/weak-copies.ll
test/Transforms/ScalarRepl/phi-cycle.ll
test/Transforms/SimplifyCFG/switch-on-const-select.ll