[llvm] Extend the mismatch attr check to all non-exact definition function (PR #88035)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 9 13:46:45 PDT 2024


WenleiHe wrote:

> OK, so this is because there is no profile loaded for this function in pre-link time (so it never run this `profileIsValid`), the attr is not set(unknown).

Sounds good to remove assertion to unblock.

> OK, so this is because there is no profile loaded for this function in pre-link time (so it never run this profileIsValid), the attr is not set(unknown).

I'm curious why does this happen? 

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


More information about the llvm-commits mailing list