Could this move to `get_fn_llvm_attributes`?