[Mesa-dev] [PATCH] gallivm: Make sure module has the correct data layout when pass manager runs

2017-05-07 Thread Tom Stellard
The datalayout for modules was purposely not being set in order to work around the fact that the ExecutionEngine requires that the module's datalayout matches the datalayout of the TargetMachine that the ExecutionEngine is using. When the pass manager runs on a module with no datalayout, it uses t

Re: [Mesa-dev] [PATCH] gallivm: Make sure module has the correct data layout when pass manager runs

2017-05-05 Thread Jose Fonseca
Same here. Reviewed-by: Jose Fonseca On 05/05/17 16:16, Roland Scheidegger wrote: Makes sense to me. Reviewed-by: Roland Scheidegger Am 05.05.2017 um 03:25 schrieb Tom Stellard: The datalayout for modules was purposely not being set in order to work around the fact that the ExecutionEngine

Re: [Mesa-dev] [PATCH] gallivm: Make sure module has the correct data layout when pass manager runs

2017-05-05 Thread Roland Scheidegger
Makes sense to me. Reviewed-by: Roland Scheidegger Am 05.05.2017 um 03:25 schrieb Tom Stellard: > The datalayout for modules was purposely not being set in order to work around > the fact that the ExecutionEngine requires that the module's datalayout > matches the datalayout of the TargetMachine