Constant folding vs. Constant propogation
-
04-11-2019 - |
Question
What is the difference between constant folding and constant propogation? They both seem to do the same thing, instead of saving constants into stack or evaluating a full arithmetic expression, they simply replace it with the result which can be obtained at compile time. What is the difference between two?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with cs.stackexchange