]> granicus.if.org Git - llvm/commit
Merging r196129:
authorBill Wendling <isanbard@gmail.com>
Mon, 2 Dec 2013 19:14:12 +0000 (19:14 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 2 Dec 2013 19:14:12 +0000 (19:14 +0000)
commit21f315bc883057c75cedbd31b11f9924af064c2d
tree0ec42393576e7eb17125c8d20dc2a8ade3e75ad1
parent1b26fdbf1f01e90b803cc035b6b932cd95c76830
Merging r196129:
------------------------------------------------------------------------
r196129 | kkhoo | 2013-12-02 10:43:59 -0800 (Mon, 02 Dec 2013) | 1 line

Conservative fix for PR17827 - don't optimize a shift + and + compare sequence where the shift is logical unless the comparison is unsigned
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196132 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCompares.cpp
test/Transforms/InstCombine/pr17827.ll [new file with mode: 0644]