6 votes 6 votes Substitution of values for names (whose values are constants) is done in Local optimization Loop optimization Constant folding Strength reduction Compiler Design isro2009 compiler-design code-optimization + – Desert_Warrior asked Jun 3, 2016 Desert_Warrior 6.5k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 8 votes 8 votes Constant folding : Constant folding is the process of recognizing and evaluating constant expressions at compile time rather than computing them at runtime. sanjana answered Jun 4, 2016 selected Jun 20, 2016 by Desert_Warrior sanjana comment Share Follow See all 2 Comments See all 2 2 Comments reply Prateek kumar commented Sep 2, 2016 reply Follow Share an answer should be local optimization let's take an example:- –1 votes –1 votes gajendercse commented Jan 15, 2021 reply Follow Share Is This answer correct? i think what question asks for is Constant Propogation innit? 0 votes 0 votes Please log in or register to add a comment.