This will propagate constant arguments to the body of specializations that we would have otherwise missed, i.e literal constants since specializing such arguments is disabled by default.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Transforms/Utils/SCCPSolver.cpp | ||
---|---|---|
843 | I understand that with this change we will propagate literal constant arguments into the specialized functions. But, going forward, we intend to enable funcspec-for-literal-constant by default and then this functions here has the potential to be more efficient. Thus I would suggest not deleting it for now. |
I understand that with this change we will propagate literal constant arguments into the specialized functions. But, going forward, we intend to enable funcspec-for-literal-constant by default and then this functions here has the potential to be more efficient.
Thus I would suggest not deleting it for now.