Hi,<br><br> I'm pursuing M.Tech course. As a part of the project work i'm using LLVM as back-end. My project area is "Enhancing the performance of V8 javascript engine using LLVM as a back-end". <br><br>
Now i'm writing code for shift left(SHL) operator. I had my own Value Structure .. it's like this<br><br>Struct Value<br>{<br>void *val ;<br>char type;<br>} <br clear="all"><br> The "char type" holds DoubleType,DoubleConst,StringType,StringConst...<br>
<br> when i'm executing the IrBuilder.CreateShl(LHS,RHS) instruction it is returning an integer value as output.. i'm unable to store the value in my structure....(because my structure can hold Doubles,Strings).<br>
<br> Is there any way to store the integer output in my structure( i used CreateSIToFP() to change int to double)........<br><br>Thanks in advance<br> <br>Regards,<br><br> (¨`·.·´¨) <br> `·.¸(¨`·.·´¨) <br> (¨`·.·´¨)¸.·´ Sarath!!!<br>
`·.¸.·´<br>