Given the 3-address code for a basic block:
The number of registers that are needed to allocate this basic block with no spills are ________.?
My doubt here is :
@Shaik Masthan Then answer to above question should be 2 only but ME solutions has given 4!
@Shaik Masthan thank you :)
At first here we are storing a,b,c,d in 4 registers
@ srestha there is no need of storing a,b,c,d into registers ,because load instructions are there so we loading data from memory location to register so need of storing .