Conservative fix for PR17827 - don't optimize a shift + and + compare sequence where...
authorKay Tiong Khoo <kkhoo@perfwizard.com>
Mon, 2 Dec 2013 18:43:59 +0000 (18:43 +0000)
committerKay Tiong Khoo <kkhoo@perfwizard.com>
Mon, 2 Dec 2013 18:43:59 +0000 (18:43 +0000)
commit4e5f6e64f171b144660f6198a93dc2ff9cfb3dd7
tree2f9d52b1bc2bcff5c1846520408edd97b79335c6
parent7043c7a35ecdbe1bb9ac9dc590233c3057cad674
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/trunk@196129 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCompares.cpp
test/Transforms/InstCombine/pr17827.ll [new file with mode: 0644]