https://bugs.freedesktop.org/show_bug.cgi?id=75211
--- Comment #14 from Tom Stellard tstellar@gmail.com --- (In reply to comment #13)
(In reply to comment #12)
Can you try this LLVM patch:
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)
I will post a new patch when I get a chance. You should be able to fix this by adding
#include "llvm/IR/Function.h"
to the includes in SIInstrInfo.cpp