[llvm-dev] minimal C code that would generate IR code using phi
Peng Yu via llvm-dev
llvm-dev at lists.llvm.org
Fri Jan 25 08:55:13 PST 2019
Hi,
I am trying to understand phi better. I know what it means.
https://en.wikipedia.org/wiki/Static_single_assignment_form
But when I tried to create a minimal code using if-else with
unbalanced statements to change a variable in C, it still did not
generate IR code using phi.
Does anybody have a minimal C code that would generate IR code using
phi? Thanks.
--
Regards,
Peng
More information about the llvm-dev
mailing list