As pointed out by @jdoerfert on D75815, we must be careful when simplifying musttail calls: We can only replace the return value if we can eliminate the call entirely. As we can't make this guarantee for all consumers of InstSimplify, this patch disables simplification of musttail calls. Without this patch, musttail simplification currently results in module verification errors.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo