How to generate Object Code for implemeted assembly vecto instructions

Hello,

I have implemented some vector instructions ( greater vector width) in LLVM x86 backend. The llc is generating correct assembly. however to execute that on some target machine. i need object file. What changes do i need to do? do i need to put these new instructions and register info in MC framework to generate object code from .s assembly file?

Please help. I am stuck at this point.

Thank You
Regards