[PATCH] D34279: Fix release_40 build with MSVC (VS 2015)

2017-06-27 Thread Ivan Donchevskii via Phabricator via cfe-commits
yvvan abandoned this revision. yvvan added a comment. Can't reproduce an error anymore https://reviews.llvm.org/D34279 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D34279: Fix release_40 build with MSVC (VS 2015)

2017-06-20 Thread Ivan Donchevskii via Phabricator via cfe-commits
yvvan added a comment. I've tried once again to make a clean build and it worked... :) And I can't imagine what kind of configuration issue could it be because I always use quite the same one :) https://reviews.llvm.org/D34279 ___ cfe-commits maili

[PATCH] D34279: Fix release_40 build with MSVC (VS 2015)

2017-06-20 Thread Hans Wennborg via Phabricator via cfe-commits
hans added a comment. I still don't understand why this is breaking your build. Assuming this is the line the first error refers to: for (unsigned BinOp : {G_ADD, G_SUB, G_MUL, G_AND, G_OR, G_XOR, G_SHL}) { I don't see how converting G_ADD, even if it is an int, to unsigned would be a narrow

[PATCH] D34279: Fix release_40 build with MSVC (VS 2015)

2017-06-19 Thread Ivan Donchevskii via Phabricator via cfe-commits
yvvan added a comment. In https://reviews.llvm.org/D34279#784089, @hans wrote: > I have 19.00.24210, so slightly earlier I suppose, but I believe we use > Update 3 on our Chromium buildbots, and they seem happy. > > Can you paste the full error message? The part I see in your screenshot > doesn

[PATCH] D34279: Fix release_40 build with MSVC (VS 2015)

2017-06-19 Thread Hans Wennborg via Phabricator via cfe-commits
hans added a comment. I have 19.00.24210, so slightly earlier I suppose, but I believe we use Update 3 on our Chromium buildbots, and they seem happy. Can you paste the full error message? The part I see in your screenshot doesn't really make sense. Why should converting 1 to unsigned int be a

[PATCH] D34279: Fix release_40 build with MSVC (VS 2015)

2017-06-18 Thread Ivan Donchevskii via Phabricator via cfe-commits
yvvan added a comment. btw my cl version is 19.00.24215.1 (MS VS 2015 Update 3). Do you use the same one? https://reviews.llvm.org/D34279 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com

[PATCH] D34279: Fix release_40 build with MSVC (VS 2015)

2017-06-18 Thread Ivan Donchevskii via Phabricator via cfe-commits
yvvan added a comment. I've checked once again. Werror is disabled and no /WX flag is used. So this is a compiler error in case of msvc even without these flags. https://reviews.llvm.org/D34279 ___ cfe-commits mailing list cfe-commits@lists.llvm.or

[PATCH] D34279: Fix release_40 build with MSVC (VS 2015)

2017-06-16 Thread Ivan Donchevskii via Phabricator via cfe-commits
yvvan added a comment. I also did not have any local patches applied - just checked out release_40 branch for llvm and clang. I believe I also don't have warnings as errors enabled. At least I've checked for the extra flags and did not find such. I'll search once again if I have /WX somewhere i

[PATCH] D34279: Fix release_40 build with MSVC (VS 2015)

2017-06-16 Thread Hans Wennborg via Phabricator via cfe-commits
hans added a subscriber: tstellar. hans added a comment. That's strange. I build the llvm 4.0 branch (and trunk too, which has the same code) with Visual Studio 2015 without problems. (I don't build with warnings as errors though, so if this is a warning maybe I missed it.) Do you have any loca

[PATCH] D34279: Fix release_40 build with MSVC (VS 2015)

2017-06-16 Thread Ivan Donchevskii via Phabricator via cfe-commits
yvvan added a comment. error list https://reviews.llvm.org/D34279 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-c

[PATCH] D34279: Fix release_40 build with MSVC (VS 2015)

2017-06-16 Thread Ivan Donchevskii via Phabricator via cfe-commits
yvvan created this revision. I currently have narrowing conversion error without that fix. I try building with 64 and 32 bit compilers - both reproduce that error. https://reviews.llvm.org/D34279 Files: include/llvm/Target/TargetOpcodes.h Index: include/llvm/Target/TargetOpcodes.h =