This is an archive of the discontinued LLVM Phabricator instance.

[LLVM-C] Allow For Creating a BasicBlock without a Parent Function
ClosedPublic

Authored by CodaFi on Jan 3 2019, 10:27 AM.

Details

Summary

Add a utility function for creating a basic block without a parent function. A useful operation for compilers that need to synthesize and conditionally insert code without having to bother with appending and immediately unlinking a block.

Diff Detail

Repository
rL LLVM

Event Timeline

CodaFi created this revision.Jan 3 2019, 10:27 AM
CodaFi updated this revision to Diff 180104.Jan 3 2019, 10:49 AM
This revision is now accepted and ready to land.Jan 3 2019, 5:33 PM
This revision was automatically updated to reflect the committed changes.