[Mesa-dev] [Bug 85189] llvm/invocation.cpp: In function 'void {anonymous}::optimize(llvm::Module*, unsigned int, const std::vector<llvm::Function*>&)': llvm/invocation.cpp:324:18: error: expected type-specifier

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 23 21:03:16 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=85189

Vinson Lee <vlee at freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Vinson Lee <vlee at freedesktop.org> ---
commit 1ab6543431b5a4eaf589cdabf2227088dd62ce6f
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Sun Oct 19 00:13:33 2014 -0700

    clover: Fix build error with LLVM 3.4.

    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(llvm::Module*,
unsigned int, const std::vector<llvm::Function*>&)':
    llvm/invocation.cpp:324:18: error: expected type-specifier
           PM.add(new llvm::DataLayoutPass(mod));
                      ^

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85189
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141024/0785e2c1/attachment.html>


More information about the mesa-dev mailing list