intel / intel-graphics-compiler

Other
606 stars 158 forks source link

doesn't build with llvm 11 #154

Closed tjaalton closed 3 years ago

tjaalton commented 3 years ago

/<>/IGC/Compiler/CustomSafeOptPass.cpp: In member function ‘void IGC::GenSpecificPattern::visitBinary Operator(llvm::BinaryOperator&)’: /<>/IGC/Compiler/CustomSafeOptPass.cpp:2323:74: error: ‘static llvm::VectorType llvm::VectorType::ge t(llvm::Type, unsigned int)’ is deprecated [-Werror=deprecated-declarations] 2323 | VectorType* vec4 = VectorType::get(builder.getInt8Ty(), 4); | ^

this with 1.0.5353.1 on current Debian unstable

ArchangeGabriel commented 3 years ago

Duplicate of #152, fixed in latest release (1.0.5435).

lwesiers commented 3 years ago

Closing this issue, as it was fixed. Feel free to reopen if similar issue will arrive.