This is an archive of the discontinued LLVM Phabricator instance.

[mlir][LLVM] add `llvm.ssa.copy` intrinsic
ClosedPublic

Authored by zero9178 on Jul 19 2023, 12:35 AM.

Details

Summary

This is quite the niche intrinsic, whose whole purpose is to be able to essentially split an SSA value to be able to attach additional information to the new value.
It therefore really acts like a noop that just passes through its argument. It interestingly does not have any support in CodeGen and is therefore required to also be deleted by any pass creating it.

Diff Detail

Event Timeline

zero9178 created this revision.Jul 19 2023, 12:35 AM
Herald added a reviewer: dcaballe. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
zero9178 requested review of this revision.Jul 19 2023, 12:35 AM
ftynse accepted this revision.Jul 19 2023, 12:48 AM
This revision is now accepted and ready to land.Jul 19 2023, 12:48 AM
This revision was landed with ongoing or failed builds.Jul 19 2023, 12:53 AM
This revision was automatically updated to reflect the committed changes.