[PATCH] D152226: [FunctionAttrs] Propagate some func/arg/ret attributes from caller to callsite (WIP)
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 6 14:20:35 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/include/llvm/Transforms/Utils/InferCallsiteAttrs.h:1
+#ifndef LLVM_TRANSFORMS_UTILS_INFERCALLSITEATTRS_H
+#define LLVM_TRANSFORMS_UTILS_INFERCALLSITEATTRS_H
----------------
Missing license header
================
Comment at: llvm/include/llvm/Transforms/Utils/InferCallsiteAttrs.h:10-12
+ static constexpr uint8_t kMaybe = 0;
+ static constexpr uint8_t kYes = 1;
+ static constexpr uint8_t kNo = 2;
----------------
Why not a regular enum?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152226/new/
https://reviews.llvm.org/D152226
More information about the llvm-commits
mailing list