View Single Post
Old 11 July 2015, 21:27   #10
Total Chaos forever!

Samurai_Crow's Avatar
Join Date: Aug 2007
Location: Ft. Collins, CO USA
Age: 43
Posts: 1,026
Send a message via Yahoo to Samurai_Crow
You might try implementing the LEA opcode and using scratch registers as the closest equivalent to the GetElementPtr operation in the LLVM intermediate representation. Once you get that working, getting it to merge the LEA with the next instruction as an addressing mode of the second instruction should be simpler to do than trying to just "get the addressing modes working" in the abstract sense.
Samurai_Crow is offline  
Page generated in 0.05911 seconds with 10 queries