Use the Attributes::get method which takes an AttrVal value directly to simplify...
authorBill Wendling <isanbard@gmail.com>
Tue, 16 Oct 2012 05:23:31 +0000 (05:23 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 16 Oct 2012 05:23:31 +0000 (05:23 +0000)
commitc6a15cf51948ed0f1f738744c489987c78f6ab1a
tree1113afa332a9a1499ede9dd0864d07ca56f169a3
parenta517c30ed3515ab8afd6cecb279c83f520f98fad
Use the Attributes::get method which takes an AttrVal value directly to simplify the code a bit. No functionality change.

llvm-svn: 166009
llvm/include/llvm/Function.h
llvm/include/llvm/Instructions.h
llvm/lib/Transforms/IPO/GlobalOpt.cpp
llvm/lib/Transforms/Scalar/ObjCARC.cpp
llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp