AsmPrinter Patch: handle emitting of constants in non-default address space.

AsmPrinter currently handles emitting the constants only in the default data space.

The attached patch enhances those APIs to take address space attribute and allow emitting of constants in the specified address space.

Please let me know your comments on the same.

  • Sanjiv

patch.txt (24.3 KB)