XinlongZHANG-Bob wrote: Of all the `CompatRule` in llvm/include/llvm/IR/Attributes.td, `use-sample-profile` is the only one needs to add, because it takes effect in production code and is tls wrapper relevant. https://github.com/llvm/llvm-project/pull/245514