Make one of the AttributeSet ctors maintain the invariant that the
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 2 Aug 2013 22:29:40 +0000 (22:29 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 2 Aug 2013 22:29:40 +0000 (22:29 +0000)
commitbd6c7459bb1be4b492be95a3b19ab2dccaa7f53a
tree40e5bb226cc050b40261dbb5667ba50f95abf5b9
parentf6e90afbf4bfee9894fed71656969bdee410b1d4
Make one of the AttributeSet ctors maintain the invariant that the
attribute list is ordered by index.

Differential Revision: http://llvm-reviews.chandlerc.com/D1265

llvm-svn: 187682
llvm/lib/IR/AttributeImpl.h
llvm/lib/IR/Attributes.cpp
llvm/unittests/IR/AttributesTest.cpp