Displaying 2 results from an estimated 2 matches for "boleavinash".
2015 May 11
2
[LLVMdev] How to Store variable allocation in Registers
Hi Bruce!!
Im using "C" language.
As you said...,i tried using Global pointer..,but i still am not able to
get the Registers exactly as i wanted.
I found "-mem2reg" as a better alternative. But Problem is even though the
resulting Intermediate file( .ll ) is
good...,the final assembly file( .s) file is making a lot of DCE.
Im Posting an example :
*Original Intermediate
2015 May 07
2
[LLVMdev] How to Store variable allocation in Registers
Hello,
Im trying to build a Backend using LLVM. My Architecture doesnt have a
stack. So,I need to store all the variables in Registers.
I found in xxxFrameLowering.cpp (where xxx is any target name) references
to stack and frame pointer. I tried to remove all those references by
placing Register class in place of stack but of no use.
Can anyone please suggest the way to do this...,would be very