[PATCH] D137053: [IR][Instruction] Annotate more methods with LLVM_READONLY
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 31 23:36:43 PDT 2022
arsenm added inline comments.
================
Comment at: llvm/include/llvm/IR/Instruction.h:464
/// Determine whether the approximate-math-functions flag is set.
- bool hasApproxFunc() const;
+ bool hasApproxFunc() const LLVM_READONLY;
----------------
Why aren't all these trivial getters inline?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137053/new/
https://reviews.llvm.org/D137053
More information about the llvm-commits
mailing list