]> granicus.if.org Git - llvm/commit
Revert "Roll forward r314928"
authorReid Kleckner <rnk@google.com>
Fri, 6 Oct 2017 21:17:51 +0000 (21:17 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 6 Oct 2017 21:17:51 +0000 (21:17 +0000)
commit57c865bc5dbc005ba9f03156e1bfb643371544fe
tree6ee40e051b44c79eabf8a8d8cc8206f3d6a2c349
parent44bde8dadb860360985164e82a6ef9f20204d16c
Revert "Roll forward r314928"

This appears to be miscompiling Clang, as shown on two Windows bootstrap
bots:
http://lab.llvm.org:8011/builders/clang-x86-windows-msvc2015/builds/7611
http://lab.llvm.org:8011/builders/clang-x64-ninja-win7/builds/6870

Nothing else is in the blame list. Both emit errors on this valid code
in the Windows ucrt headers:

C:\...\ucrt\malloc.h:95:32: error: invalid operands to binary expression ('char *' and 'int')
            _Ptr = (char*)_Ptr + _ALLOCA_S_MARKER_SIZE;
                   ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~

I am attempting to reproduce this now.

This reverts r315044

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315108 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineInternal.h
lib/Transforms/InstCombine/InstCombinePHI.cpp
test/Transforms/InstCombine/intptr1.ll [deleted file]
test/Transforms/InstCombine/intptr2.ll [deleted file]
test/Transforms/InstCombine/intptr3.ll [deleted file]
test/Transforms/InstCombine/intptr4.ll [deleted file]
test/Transforms/InstCombine/intptr5.ll [deleted file]
test/Transforms/InstCombine/intptr6.ll [deleted file]