Use the AttributeSet query method instead of the Attribute method.

git-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@172849 91177308-0d34-0410-b5e6-96231b3b80d8
[mips] Enable inlining of atomic ops on mips32 and mips64.



git-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@172855 91177308-0d34-0410-b5e6-96231b3b80d8