HomePhabricator

PHINode: introduce setIncomingValueForBlock() function, and use it.

Authored by Whitney on Jun 17 2019, 7:38 AM.

Description

PHINode: introduce setIncomingValueForBlock() function, and use it.

Summary:
There is PHINode::getBasicBlockIndex() and PHINode::setIncomingValue()
but no function to replace incoming value for a specified BasicBlock*
predecessor.
Clearly, there are a lot of places that could use that functionality.

Reviewer: craig.topper, lebedev.ri, Meinersbur, kbarton, fhahn
Reviewed By: Meinersbur, fhahn
Subscribers: fhahn, hiraditya, zzheng, jsji, llvm-commits
Tag: LLVM
Differential Revision: https://reviews.llvm.org/D63338

llvm-svn: 363566

Details

Committed
WhitneyJun 17 2019, 7:38 AM
Reviewer
Meinersbur
Differential Revision
D63338: PHINode: introduce setIncomingValueForBlock() function, and use it.
Parents
rG1c91e63897d8: [X86][SSE] Add tests for underaligned nt loads
Branches
Unknown
Tags
Unknown