how to perform TargetLowering in a IR-trasformation pass?

橙三吉。 提交于 2019-12-24 01:54:42

问题


To provide TLS support to orcjit, I'm like to transforom llvm::Modules without TLS emulation to ones that emulateTLS and depend on a Runtime.

Similar functionality is already implemented in TargetLowering::LowerToTLSEmulatedModel, however it does not operate on IR.

So, how can i implement and perform this operation as an llvm::Pass ?

来源:https://stackoverflow.com/questions/42163796/how-to-perform-targetlowering-in-a-ir-trasformation-pass

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!