Re:Memory Copy Hunting
by yxhuvud on Wednesday July 26, 2023 @01:26PM
(#36881413)
It would be nice if llvm provided some sort of IR linter that looks for common issues and list the biggest offenders in a set of IR.
[ Parent
| on HN ]
Re:Memory Copy Hunting
by JonChesterfield on Wednesday July 26, 2023 @05:49PM
(#36885596)
Better to add said common issues to instcombine with a test case instead. But if you wanted tooling to look for misuse of your library API or similar, that can be done (and has been, at least out of tree).