DanielKristofKiss wrote: Function attributes are only attached when they are set. #83153 ensures the synthetic function are also gets the right attributes so the backend doesn't need to use the module attributes #83154. https://github.com/llvm/llvm-project/pull/82819