[polly] r239219 - Add NVIDIA vprintf printing to RuntimeDebugBuilder

Marshall Clow mclow.lists at gmail.com
Mon Jun 8 09:21:07 PDT 2015


On Sat, Jun 6, 2015 at 1:43 AM, Tobias Grosser <tobias at grosser.es> wrote:

> Author: grosser
> Date: Sat Jun  6 03:43:22 2015
> New Revision: 239219
>
> URL: http://llvm.org/viewvc/llvm-project?rev=239219&view=rev
> Log:
> Add NVIDIA vprintf printing to RuntimeDebugBuilder
>
> Modified:
>     polly/trunk/include/polly/CodeGen/RuntimeDebugBuilder.h
>     polly/trunk/lib/CodeGen/RuntimeDebugBuilder.cpp
>
>
I am getting build errors from this commit.
Mac OS X, polly checked out at llvm/tools/polly.
Another mac, w/o polly has no build issues.


[ 51%] Building CXX object
tools/lld/COFF/CMakeFiles/lldCOFF.dir/Driver.cpp.o
In file included from
/Sources/LLVM/llvm/tools/polly/lib/CodeGen/RuntimeDebugBuilder.cpp:12:
/Sources/LLVM/llvm/tools/polly/include/polly/CodeGen/RuntimeDebugBuilder.h:94:64:
error: too many arguments to function call, expected at most 2, have 3
    Values.push_back(Builder.CreateGlobalStringPtr(String, "", 4));
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             ^
/Sources/LLVM/llvm/include/llvm/IR/IRBuilder.h:1194:3: note:
'CreateGlobalStringPtr' declared here
  Value *CreateGlobalStringPtr(StringRef Str, const Twine &Name = "") {
  ^
/Sources/LLVM/llvm/tools/polly/lib/CodeGen/RuntimeDebugBuilder.cpp:111:78:
error: too many arguments to function call, expected at most 2, have 3
  Value *Format = Builder.CreateGlobalStringPtr(str,
"polly.vprintf.buffer", 4);
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ^
/Sources/LLVM/llvm/include/llvm/IR/IRBuilder.h:1194:3: note:
'CreateGlobalStringPtr' declared here
  Value *CreateGlobalStringPtr(StringRef Str, const Twine &Name = "") {
  ^
2 errors generated.
make[2]: ***
[tools/polly/lib/CMakeFiles/Polly.dir/CodeGen/RuntimeDebugBuilder.cpp.o]
Error 1
make[1]: *** [tools/polly/lib/CMakeFiles/Polly.dir/all] Error 2

-- Marshall
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150608/f73ebaa0/attachment.html>


More information about the llvm-commits mailing list