You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from IGC/VectorCompiler/lib/GenXOpts/CMPacketize/PacketBuilder.h:40:
IGC/WrapperLLVM/include/llvmWrapper/Support/Alignment.h:93:16: error: no viable conversion from returned value of type 'llvm::MaybeAlign' to function return type 'IGCLLVM::Align' (aka 'llvm::Align')
return Val.getAlign();
^~~~~~~~~~~~~~
IGC/VectorCompiler/lib/GenXOpts/CMPacketize/GenXPacketize.cpp:279:37: note: in instantiation of function template specialization 'IGCLLVM::getAlign<llvm::Function, 0>' requested here
ClonedFunc->setAlignment(IGCLLVM::getAlign(*F));
^
/usr/include/llvm/Support/Alignment.h:71:13: note: candidate constructor not viable: no known conversion from 'llvm::MaybeAlign' to 'const llvm::Align &'for 1st argument
constexprAlign(const Align &Other) = default;
^
/usr/include/llvm/Support/Alignment.h:72:13: note: candidate constructor not viable: no known conversion from 'llvm::MaybeAlign' to 'llvm::Align &&'for 1st argument
constexprAlign(Align &&Other) = default;
^
/usr/include/llvm/Support/Alignment.h:109:13: note: candidate constructor not viable: no known conversion from 'llvm::MaybeAlign' to 'llvm::Align::LogValue'for 1st argument
constexprAlign(LogValue CA) : ShiftValue(CA.Log) {}
^
1 error generated.
I've tried to revert 150427e only to bump into 07d74a9 regression:
IGC/Compiler/CISACodeGen/ResolveGAS.cpp:83:28: error: use of undeclared identifier 'AAResultsWrapperPass'
AU.addRequired<AAResultsWrapperPass>();
^
IGC/Compiler/CISACodeGen/ResolveGAS.cpp:83:49: error: expected unqualified-id
AU.addRequired<AAResultsWrapperPass>();
^
IGC/Compiler/CISACodeGen/ResolveGAS.cpp:706:5: error: unknown type name 'AliasAnalysis'
AliasAnalysis* AA = &getAnalysis<AAResultsWrapperPass>().getAAResults();
^
IGC/Compiler/CISACodeGen/ResolveGAS.cpp:706:38: error: use of undeclared identifier 'AAResultsWrapperPass'
AliasAnalysis* AA = &getAnalysis<AAResultsWrapperPass>().getAAResults();
^
IGC/Compiler/CISACodeGen/ResolveGAS.cpp:781:27: error: use of undeclared identifier 'MemoryLocation'; did you mean 'TempDILocation'?
if (AA->alias(MemoryLocation::get(SI), MemoryLocation::get(LI))) {
^~~~~~~~~~~~~~
TempDILocation
/usr/include/llvm/IR/Metadata.def:82:1: note: 'TempDILocation' declared here
HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocation)
^
/usr/include/llvm/IR/Metadata.def:46:3: note: expanded from macro 'HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE'HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS)
^
/usr/include/llvm/IR/Metadata.def:67:47: note: expanded from macro 'HANDLE_SPECIALIZED_MDNODE_LEAF'
#defineHANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS)
^
/usr/include/llvm/IR/Metadata.h:850:9: note: expanded from macro 'HANDLE_MDNODE_LEAF'using Temp##CLASS = std::unique_ptr<CLASS, TempMDNodeDeleter>;
^
<scratch space>:15:1: note: expanded from here
TempDILocation
^
IGC/Compiler/CISACodeGen/ResolveGAS.cpp:781:43: error: call to non-static member function without an object argument
if (AA->alias(MemoryLocation::get(SI), MemoryLocation::get(LI))) {
~~~~~~~~~~~~~~~~^~~
IGC/Compiler/CISACodeGen/ResolveGAS.cpp:781:52: error: use of undeclared identifier 'MemoryLocation'; did you mean 'TempDILocation'?
if (AA->alias(MemoryLocation::get(SI), MemoryLocation::get(LI))) {
^~~~~~~~~~~~~~
TempDILocation
/usr/include/llvm/IR/Metadata.def:82:1: note: 'TempDILocation' declared here
HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocation)
^
/usr/include/llvm/IR/Metadata.def:46:3: note: expanded from macro 'HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE'HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS)
^
/usr/include/llvm/IR/Metadata.def:67:47: note: expanded from macro 'HANDLE_SPECIALIZED_MDNODE_LEAF'
#defineHANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS)
^
/usr/include/llvm/IR/Metadata.h:850:9: note: expanded from macro 'HANDLE_MDNODE_LEAF'using Temp##CLASS = std::unique_ptr<CLASS, TempMDNodeDeleter>;
^
<scratch space>:15:1: note: expanded from here
TempDILocation
^
IGC/Compiler/CISACodeGen/ResolveGAS.cpp:781:68: error: call to non-static member function without an object argument
if (AA->alias(MemoryLocation::get(SI), MemoryLocation::get(LI))) {
~~~~~~~~~~~~~~~~^~~
8 errors generated.
The text was updated successfully, but these errors were encountered:
We don't support building against LLVM 11 yet.
Please check out comments in this issue: #152
Also, we provide information on LLVM compatibility in our build_ubuntu.md documentation file.
Regressed by 150427e. From error log:
I've tried to revert 150427e only to bump into 07d74a9 regression:
The text was updated successfully, but these errors were encountered: