This is an archive of the discontinued LLVM Phabricator instance.

[Attributor] Bitcast constant to the returned value type if it has different type
ClosedPublic

Authored by sdmitriev on May 1 2020, 5:16 PM.

Diff Detail

Event Timeline

sdmitriev created this revision.May 1 2020, 5:16 PM
Herald added a reviewer: uenoku. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
sdmitriev added inline comments.May 1 2020, 5:37 PM
llvm/lib/Transforms/IPO/AttributorAttributes.cpp
4538

I probably should not change captured C. I will upload an updated patch.

sdmitriev updated this revision to Diff 261596.May 1 2020, 5:41 PM
sdmitriev marked an inline comment as done.May 1 2020, 10:34 PM
jdoerfert accepted this revision.May 3 2020, 9:08 AM

LGTM.

This revision is now accepted and ready to land.May 3 2020, 9:08 AM
This revision was automatically updated to reflect the committed changes.