R600: Canonicalize access to function attributes, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 14 Feb 2015 02:45:45 +0000 (02:45 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 14 Feb 2015 02:45:45 +0000 (02:45 +0000)
commit20d6ad9de25a8170336ba64141cd569484b83035
tree033757c210c0741bd4826d425637ac9e5c35cb40
parent39127e77ae1f38e611b5d0ae0bcd7885ee4e6a91
R600: Canonicalize access to function attributes, NFC

Canonicalize access to function attributes to use the simpler API.

getAttributes().getAttribute(AttributeSet::FunctionIndex, Kind)
  => getFnAttribute(Kind)

getAttributes().hasAttribute(AttributeSet::FunctionIndex, Kind)
  => hasFnAttribute(Kind)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229222 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUMachineFunction.cpp
lib/Target/R600/SITypeRewriter.cpp