This is an archive of the discontinued LLVM Phabricator instance.

[bindings/go] Add RemoveFromParentAsInstruction
ClosedPublic

Authored by aykevl on Jan 4 2020, 9:55 AM.

Details

Reviewers
whitequark
Summary

This allows removing instructions without erasing them. They can then be added somewhere else in the IR using Builder.Insert().

Diff Detail

Event Timeline

aykevl created this revision.Jan 4 2020, 9:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 4 2020, 9:55 AM
This revision is now accepted and ready to land.Jan 4 2020, 1:50 PM
aykevl closed this revision.Feb 24 2020, 10:44 AM

I forgot to include the Differential Revision line but this has been committed here:
https://github.com/llvm/llvm-project/commit/00570c2f18872ce0a1f68cc73e7e259ad67aa60d