[Mesa-dev] LLVM + SPIRV-LLVM-Translator - compilation errors

Dieter Nützel Dieter at nuetzel-hh.de
Fri Nov 15 03:11:04 UTC 2019


Am 15.11.2019 03:27, schrieb Karol Herbst:
> might be that those definitions moved elsewhere or the headers were
> never directly included.
> 
> In llvm 9 there are in llvm/InitializePasses.h, but maybe that's
> changed? And if not, maybe that file needs to be included in
> SPIRVLowerSPIRBlocks.cpp?

Thank you Karol for your fast reply.
I'll try tomorrow or one day after. - If no one beat me.
I need badly some sleep and on Saturday our brave daughter has her first 
end-of-course dance with us...;-)

Greetings,
Dieter

> On Fri, Nov 15, 2019 at 2:34 AM Dieter Nützel <Dieter at nuetzel-hh.de> 
> wrote:
>> 
>> Hello Karol and Ilya,
>> 
>> do you have any hints/pointers for me to solve these LLVM +
>> SPIRV-LLVM-Translator - compilation errors.
>> 
>> llvm-project git taken 'today'.
>> 
>> [-]
>> commit 95c770fbfb14b07e1af7c2d427c16745617d9f1f (HEAD -> master,
>> origin/master, origin/HEAD)
>> Author: Davide Italiano <ditaliano at apple.com>
>> Date:   Thu Nov 14 15:29:28 2019 -0800
>> 
>>      [Utility] Remove a dead header [PPC64LE_ehframe_Registers.h]
>> [-]
>> 
>> opt/llvm-project/llvm/projects/SPIRV-LLVM-Translator/lib/SPIRV/SPIRVLowerSPIRBlocks.cpp:617:1:
>> note: in expansion of macro ‘INITIALIZE_PASS_DEPENDENCY’
>>    617 | INITIALIZE_PASS_DEPENDENCY(CallGraphWrapperPass)
>>        | ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> /opt/llvm-project/llvm/include/llvm/PassSupport.h:50:45: error:
>> ‘initializeAssumptionCacheTrackerPass’ was not declared in this scope
>>     50 | #define INITIALIZE_PASS_DEPENDENCY(
>> initialize##depName##Pass(Registry);
>>        |                                             ^~~~~~~~~~
>> /opt/llvm-project/llvm/projects/SPIRV-LLVM-Translator/lib/SPIRV/SPIRVLowerSPIRBlocks.cpp:618:1:
>> note: in expansion of macro ‘INITIALIZE_PASS_DEPENDENCY’
>>    618 | INITIALIZE_PASS_DEPENDENCY(AssumptionCacheTracker)
>>        | ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> /opt/llvm-project/llvm/include/llvm/PassSupport.h:50:45: error:
>> ‘initializeAAResultsWrapperPassPass’ was not declared in this scope
>>     50 | #define INITIALIZE_PASS_DEPENDENCY(depName)
>> initialize##depName##Pass(Registry);
>>        |                                             ^~~~~~~~~~
>> /opt/llvm-project/llvm/projects/SPIRV-LLVM-Translator/lib/SPIRV/SPIRVLowerSPIRBlocks.cpp:619:1:
>> note: in expansion of macro ‘INITIALIZE_PASS_DEPENDENCY’
>>    619 | INITIALIZE_PASS_DEPENDENCY(AAResultsWrapperPass)
>>        | ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> 
>> 
>> Thank you very much in advance.
>> Dieter
>> 


More information about the mesa-dev mailing list