-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaipoInterprocedural optimizationsInterprocedural optimizationswontfixIssue is real, but we can't or won't fix it. Not invalidIssue is real, but we can't or won't fix it. Not invalid
Description
| Bugzilla Link | 3757 |
| Resolution | WONTFIX |
| Resolved on | Jan 15, 2011 18:27 |
| Version | trunk |
| OS | Linux |
| CC | @lattner |
Extended Description
The partial specialization pass doesn't preserve attributes on the call or invoke instruction. That means things like tail call, but also all the readnone/readonly noalias, sret, etc. This could cause a miscompilation for anyone using partial specialization.
There's logic to copy attributes properly inside of DeadArgumentElimination.cpp RemoveDeadStuffFromFunction(F) but it looks non-trivial to refactor.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaipoInterprocedural optimizationsInterprocedural optimizationswontfixIssue is real, but we can't or won't fix it. Not invalidIssue is real, but we can't or won't fix it. Not invalid