Re: [Mesa-dev] [PATCH] clover: Fix build error with LLVM 3.4.

2014-10-21 Thread Tom Stellard
On Sun, Oct 19, 2014 at 12:27:26AM -0700, Vinson Lee wrote: > DataLayoutPass was added in LLVM 3.5 r202168, commit > 57edc9d4ff1648568a5dd7e9958649065b260dca "Make DataLayout a plain > object, not a pass.". > > This patch fixes this build error with LLVM 3.4. > > CXX llvm/libclllvm_la-invo

[Mesa-dev] [PATCH] clover: Fix build error with LLVM 3.4.

2014-10-19 Thread Vinson Lee
DataLayoutPass was added in LLVM 3.5 r202168, commit 57edc9d4ff1648568a5dd7e9958649065b260dca "Make DataLayout a plain object, not a pass.". This patch fixes this build error with LLVM 3.4. CXX llvm/libclllvm_la-invocation.lo llvm/invocation.cpp: In function 'void {anonymous}::optimize(llv