Skip to content
Unverified Commit f4f673e0 authored by Roman Lebedev's avatar Roman Lebedev
Browse files

[NFC][InstCombine] PHI-aware aggregate reconstruction: don't capture UseBB in...

[NFC][InstCombine] PHI-aware aggregate reconstruction: don't capture UseBB in lambdas, take it as argument

In a following patch, UseBB will be detected later,
so capturing it is potentially error-prone (capture by ref vs by val).

Also, parametrized UseBB will likely be needed
for multiple levels of PHI indirections later on anyways.
parent 4973ca3e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment