Hi LLVM dev team!<br><br><div>Currently I'm writing high-level <a href="http://code.google.com/p/bamelg/" target="_blank">compiler</a> for low-level purpose and have a question about machine-code support in LLVM.<br></div>
<div>Using Phoenix SDK I'm able to create "DataInstruction" which is blob of binary data and emit it with other instructions into basic block. Also I can specify register kill set for such instructions. Also such instructions have fixup points for functions/statics etc.</div>

<div><br></div><div>But in LLVM I can't found something similar like this. There is only support for GCC-like asm statements in form of std::string. Is support for something similar to DataInstruction planned? I have own parser and codegen for X86 asm with error recovery etc. but I can't easily integrate it with LLVM.</div>
<div><br></div><div>I suggest to think about following features:</div><div>* add something similar to Phoenix's DataInstruction and move asm parsing logic to clang</div><div>* eliminate std::string representation of asm statements from module-level assembly and replace it with binary blob + relocation points.</div>
<div><br></div><div>
WBR,<br></div>Eugeny Grishul<br>