<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>Looking at the documents, it looks like all instructions, e.g. ADD, SUB work only on labels/registers and constants.<br></div><div>e.g.<br>%1 = add nsw i32 %value, 291<br>
</div>The only instructions that can work on the values on the stack or on the heap are LOAD and STORE.<br></div><div>So the following is not possible:<br>%local = alloca i32, align 4<br>%1 = add nsw i32* %local, 291<br></div>
<div><br></div>Is the above correct?<br><br></div>Kind Regards<br><br></div>James<br><br><div><div><br></div></div></div>