[MLIR][LLVM] Only disallow inlining for selected function attributes.
This loosens the requirement of no passthrough function attribute being present to checking for specific attributes that prevent inlining. Since these attributes are no longer strictly passthrough, they should eventually be upgraded to some form of addressable attributes. Drops the expensive StringSwitches over call and function attributes in favor of selectively disallowing attributes that prevent inlining (similiar to the LLVM inliner), thereby moving to a less conservative approach. Reviewed By: gysit Differential Revision: https://reviews.llvm.org/D144104
parent
57c81917
Please register or sign in to comment