Displaying 2 results from an estimated 2 matches for "modulet".
Did you mean:
module
2017 Sep 22
2
Question regarding GlobalMappingLayer in LLVM 5
...std::move(Resolver));
}
Where OptimizeLayer is:
IRTransformLayer<GlobalMappingLayerT, OptimizeFunction> 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 Expec...
2017 Sep 28
0
Question regarding GlobalMappingLayer in LLVM 5
...timizeLayer is:
>
>
>
> IRTransformLayer<GlobalMappingLayerT, OptimizeFunction>
> 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 change...