OSDN Git Service

Revert "[ValueTracking] Teach computeKnownBits for PHI nodes to compute sign bit...
authorCraig Topper <craig.topper@gmail.com>
Wed, 29 Jun 2016 04:57:00 +0000 (04:57 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 29 Jun 2016 04:57:00 +0000 (04:57 +0000)
commitc590a00f89c8a88a4c42f049c5f8ad7b0e6c199c
tree5b8431f7a5bedcac58ce0d6a19d4c23fc97fe5cb
parent6818d39eebbfdbda9d870e11f098f9cecf4440f0
Revert "[ValueTracking] Teach computeKnownBits for PHI nodes to compute sign bit for a recurrence with a NSW addition."

This is breaking an optimizaton remark test in clang. I've identified a couple fixes for that, but want to understand it better before I commit to anything.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274102 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ValueTracking.cpp
test/Transforms/BBVectorize/loop1.ll
test/Transforms/InstCombine/phi.ll