diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-02-14 15:35:43 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-02-14 15:35:43 +0000 |
commit | b5054333eca797944a852efa9e39512bbed924ea (patch) | |
tree | 689815668e0f9e1c9f65085a3acc8583df1dad82 /llvm/lib/Target/TargetMachine.cpp | |
parent | f54432388f66c8e9c56693fcacc3ccbade657150 (diff) | |
download | bcm5719-llvm-b5054333eca797944a852efa9e39512bbed924ea.tar.gz bcm5719-llvm-b5054333eca797944a852efa9e39512bbed924ea.zip |
NVPTX: 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)
llvm-svn: 229260
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions