(In reply to comment #12) > Can you try this LLVM patch: > > https://bugs.freedesktop.org/attachment.cgi?id=99169 Sorry, but on top of what revision? Latest upstream trunk (209031) says: SIInstrInfo.cpp:197:41: Fehler: falsche Benutzung des unvollständigen Typs »const class llvm::Function« LLVMContext &Ctx = MF->getFunction()->getContext(); ("wrong usage of partial type" or something)