Hi everyone, How would you pass a string container from TargetISelLowering phase to the TargetInstPrinter phase? May be I have missed something essential, but currently seems they don't have shared class or something like that, and currently I am thinkin to initialize container in TargetTargetMachine, then pass it to the TargetInstPrinter using TargetMCAsmInfo class or something like this. I do not like this approach. I believe that there should be some clever solution than I am thinking. Thanks, Arsen -- View this message in context: http://llvm.1065342.n5.nabble.com/LLVM-Back-End-structur-related-question-tp74818.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
Just adding a second text for getting some attention. I would appreciate any help here, any ideas, suggestions, even you are not so sure. Thanks, Arsen -- View this message in context: http://llvm.1065342.n5.nabble.com/LLVM-Back-End-structur-related-question-tp74818p74880.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
I had same issue. This is what worked for me. For target Specific entry Create String Field in your target(subtarget) extension. For instruction specific details You can pass same with MCInst. i asked for help on IRC. :D -- View this message in context: http://llvm.1065342.n5.nabble.com/LLVM-Back-End-structur-related-question-tp74818p74906.html Sent from the LLVM - Dev mailing list archive at Nabble.com.