Issue |
115520
|
Summary |
compile time regression introduced by Sema checking for __builtin_counted_by_ref
|
Labels |
clang:bounds-safety
|
Assignees |
rapidsna
|
Reporter |
rapidsna
|
As reported by @nikic
https://github.com/llvm/llvm-project/pull/114495#issuecomment-2464318302
This is likely because the checks are currently implemented to walk through the whole child nodes for every single assignments. We may be able to remove the overhead by rolling up the information about usage of `counted_by` or `__builtin_counted_by_ref` to the assignment, instead of re-visiting child nodes.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs