In r353537 we now copy all metadata to the new function, with the old
being removed when the old function is eliminated. In some cases the old
function is dropped to a declaration (seems to only occur with the old
PM). Go ahead and clear all metadata from the old function to handle that
case, since verification will complain otherwise. This is consistent
with what was being done for debug metadata before r353537.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 28124 Build 28123: arc lint + arc unit
Event Timeline
lib/Transforms/IPO/ArgumentPromotion.cpp | ||
---|---|---|
220 | Is it possible to assert F becomes a decl? |
Is it possible to assert F becomes a decl?