search for: llvmnormalizetripl

Displaying 1 result from an estimated 1 matches for "llvmnormalizetripl".

Did you mean: llvmnormalizetriple
2018 Jul 16
2
Target triple normalzation through the LLVM C API
...nvironment, and it doesn't lower a few instructions including SREM_I64 to MSVC equivalents (_allrem in this case; we end up with __moddi3 instead). I believe that we should fix this by allowing to invoke the target triple normalization function through the LLVM C API. I would suggest adding an LLVMNormalizeTriple function to the C API (in TargetMachine, I guess) which would wrap Triple::normalize(). Would this be the right way to go about it? If so, we'll propose a patch based on that idea. Thanks for your help, Markus Lindström, Raincode Labs (on behalf of LzLabs) E-mail markus at raincode.com