[clang] nonblocking/nonallocating attributes: 2nd pass caller/callee analysis (PR #99656)

Doug Wyatt via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 19 07:48:31 PDT 2024


================
@@ -4699,7 +4699,7 @@ class FunctionEffect {
 
 private:
   LLVM_PREFERRED_TYPE(Kind)
-  unsigned FKind : 3;
+  uint8_t FKind : 3;
----------------
dougsonos wrote:

The size of FunctionEffect changes from 4 (sizeof(unsigned)) to 1, and saves on memory footprint in the new analysis code.

https://github.com/llvm/llvm-project/pull/99656


More information about the cfe-commits mailing list