Metadata of invoke instructions get lost after SimplifyCFGPass.
Turning invokes that call 'nounwind' functions into ordinary calls the method changeToCall()
does not move or copy metadata from the source invoke instruction to the new call instruction.
This patch copies the metadata in changeToCall().
Details
Details
- Reviewers
chandlerc skatkov reames llvm-commits
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Decided to make use of attributes instead of metadata. Attributes are copied by most transformations.