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: 42
Posts: 615
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.04684 seconds with 9 queries