aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2021-08-13 11:09:18 -0700
committerArthur Eubanks <aeubanks@google.com>2021-08-13 11:09:18 -0700
commit92ce6db9ee7666a347fccf0f72ba3225b199d6d1 (patch)
tree8260b80c3ced3ea313070d1fa9eb7f60bb3fdb6e /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parenta0c42ca56c2ea14c53f7bebcd9b53c4dfe4152e2 (diff)
downloadllvm-92ce6db9ee7666a347fccf0f72ba3225b199d6d1.zip
llvm-92ce6db9ee7666a347fccf0f72ba3225b199d6d1.tar.gz
llvm-92ce6db9ee7666a347fccf0f72ba3225b199d6d1.tar.bz2
[NFC] Rename AttributeList::hasFnAttribute() -> hasFnAttr()
This is more consistent with similar methods.
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index 074ddaf..0786dc3 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -6419,7 +6419,7 @@ void SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I,
SDValue Op = getValue(I.getArgOperand(0));
SDNodeFlags Flags;
Flags.setNoFPExcept(
- !F.getAttributes().hasFnAttribute(llvm::Attribute::StrictFP));
+ !F.getAttributes().hasFnAttr(llvm::Attribute::StrictFP));
// If ISD::ISNAN should be expanded, do it right now, because the expansion
// can use illegal types. Making expansion early allows to legalize these