# Re: \[PATCH v9\] pgo: add clang's Profile Guided Optimization infrastructure

- From: Peter Zijlstra \<peterz@infradead.org\>
- Date: 2021-06-14 15:36:26 
- List: linux-toolchains
- Page: https://ratatoskr.run/linux-toolchains/2021/06/1413622
- Thread: https://ratatoskr.run/linux-doc/2021/01/6229274/t/2.md

```text
On Mon, Jun 14, 2021 at 08:26:01AM -0700, Kees Cook wrote:
> So, AFAICT, the original blocking issue ("PGO does not respect noinstr")
> is not actually an issue (noinstr contains notrace, which IS respected
> by PGO[2]), I think this is fine to move forward.

It is *NOT*: https://godbolt.org/z/9c7xdvGd9

Look at how both compilers generate instrumentation in the no_instr()
function.
```
