Displaying 2 results from an estimated 2 matches for "modulesett".
Did you mean:
moduleset
2017 Sep 22
2
Question regarding GlobalMappingLayer in LLVM 5
...> OptimizeLayer;
This worked fine with LLVM 4, but causes a problem in LLVM 5. It looks like the issue is that IRTransformLayer::addModule returns an Expected<ModuleT>, whereas GlobalMappingLayer returns just a ModuleHandleT. However, in LLVM 4, IRTransformLayer::addModuleSet returned a ModuleSetT and GlobalMappingLayer::addModuleSet also returned a ModuleSetHandleT, so the types matched up. In LLVM 5, the CompileOnDemandLayer was changed to return an Expected<ModuleHandleT>, but not GlobalMappingLayer.
Does that explanation seem correct, or am I missing something?
Thx,
-brian...
2017 Sep 28
0
Question regarding GlobalMappingLayer in LLVM 5
...This worked fine with LLVM 4, but causes a problem in LLVM 5. It looks
> like the issue is that IRTransformLayer::addModule returns an
> Expected<ModuleT>, whereas GlobalMappingLayer returns just a
> ModuleHandleT. However, in LLVM 4, IRTransformLayer::addModuleSet returned
> a ModuleSetT and GlobalMappingLayer::addModuleSet also returned a
> ModuleSetHandleT, so the types matched up. In LLVM 5, the
> CompileOnDemandLayer was changed to return an Expected<ModuleHandleT>, but
> not GlobalMappingLayer.
>
>
>
> Does that explanation seem correct, or am I mis...