RyanRio wrote: Linking this PR https://github.com/llvm/llvm-project/pull/200775#issuecomment-4766483559 as a reminder to myself that once this gets merged we can remove those counter builtins. + @AlexAUT FYI https://github.com/llvm/llvm-project/pull/220442