<div dir="ltr"><div>dear llvm community</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>i have followed this group some months,but i have a newbie in llvm.i have a question to ask for advice.</div><div>i want add some instructions in the arm machine pass,but i don't know how to generate the constant in arm mode.the code should be as follows</div><div><br></div><div>LDR r0,constant0</div><div>mov r1,r2</div><div>...</div><div><br></div><div>constant0:</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>dd 12345678h</div><div><br></div><div>you know arm/thumb have their constan island to process the constant from IR level passed,in machine level how</div><div>LDR an constant , when i use BuildMI to LDR an basic block,it seems generate a wrong instruction,</div><div>and basic block can not contain data just instruction.thanks all the friends,best regards!</div></div>