HomePhabricator

[LCSSA] Use IRBuilder for PHI creation.

Authored by fhahn on Aug 1 2020, 9:54 AM.

Description

[LCSSA] Use IRBuilder for PHI creation.

Use IRBuilder instead PHINode::Create. This should not impact the
generated code, but IRBuilder provides a way to register callbacks for
inserted instructions, which is convenient for some users.

Reviewed By: lebedev.ri

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

Details

Committed
fhahnAug 1 2020, 10:44 AM
Reviewer
lebedev.ri
Differential Revision
D85037: [LCSSA] Use IRBuilder for PHI creation.
Parents
rGd620a6fe98f7: [VectorCombine] add tests for non-zero gep offsets; NFC
Branches
Unknown
Tags
Unknown