Issue #1957 fastcomp: optimize compiler internal string usage

I have written an LLVM backend to transform LLVM IR to Verilog before, and I should be able to help with fixing the issue.