[PATCH] D122821: CallBase: fix getFnAttr so it also checks the function
Augie Fackler via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 31 14:37:11 PDT 2022
durin42 marked an inline comment as done.
durin42 added inline comments.
================
Comment at: llvm/include/llvm/IR/InstrTypes.h:2308
+ template <typename AK> Attribute getFnAttrOnCalledFunction(AK Kind) const {
+ // Operand bundles override attributes on the called function, but don't
----------------
jyknight wrote:
> Probably best to put this fn next to hasFnAttrOnCalledFunction in the cc file?
But it's a template, so it has to be in the header, right?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122821/new/
https://reviews.llvm.org/D122821
More information about the llvm-commits
mailing list