HomePhabricator

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

Authored by CodaFi on Jan 7 2019, 10:24 PM.

Description

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

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.

Reviewers: whitequark, deadalnix

Reviewed By: whitequark

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D56279

llvm-svn: 350608

Details

Committed
CodaFiJan 7 2019, 10:24 PM
Reviewer
whitequark
Differential Revision
D56279: [LLVM-C] Allow For Creating a BasicBlock without a Parent Function
Parents
rG40dc48be0ead: [LLVM-C] Allow Specifying Signedness in Int Cast
Branches
Unknown
Tags
Unknown