Revert "[InstCombine] Don't miscompile safe increment idiom"
authorDaniel Jasper <djasper@google.com>
Fri, 5 Jun 2015 09:31:20 +0000 (09:31 +0000)
committerDaniel Jasper <djasper@google.com>
Fri, 5 Jun 2015 09:31:20 +0000 (09:31 +0000)
commit2a89c94df649fcf5e4f6569d1ededdb5d130bd31
treea6efe9be3efccec625a7ceca00e3d6c95f82db7c
parent8beac08b7493598f2559cb86668e3a5d213599d2
Revert "[InstCombine] Don't miscompile safe increment idiom"

This is breaking a lot of build bots and is causing very long-running
compiles (infinite loops)?

Likely, we shouldn't return nullptr?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239139 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineSelect.cpp
test/Transforms/InstCombine/select.ll