Files
clang-p2996/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
Chengjun 94a98cf5dc [InstCombine] Remove dead phi web (#108876)
In current visitPHINode function during InstCombine, it can remove dead
phi cycles (all phis have one use, which is another phi). However, it
cannot deal with the case when the phis form a web (all phis have one or
more uses, and all the uses are phi). This change extends the algorithm
so that it can also deal with the dead phi web.
2024-09-18 10:04:49 +02:00

61 KiB