r/Compilers • • May 24 '26

Phi to block parameters

Is there a way to convert phi nodes to basic block parameters?

21 Upvotes

9 comments sorted by

View all comments

Show parent comment

4

u/evincarofautumn May 25 '26

Dunno why you were downvoted, this is a very clear presentation of the idea — converting between the two forms is just a kind of transposition