Revert "[VectorUtils] Query number of sign bits to allow more truncations"
commit3a22301784a97cdf18c6c934d6769298fb3a6080
authorJames Molloy <james.molloy@arm.com>
Tue, 10 May 2016 12:27:23 +0000 (10 12:27 +0000)
committerJames Molloy <james.molloy@arm.com>
Tue, 10 May 2016 12:27:23 +0000 (10 12:27 +0000)
treeab6d96c485872e7d8f0b92888643614191d3658c
parent32ba5cd276701e439e639003dfa3e92817c0c4fc
Revert "[VectorUtils] Query number of sign bits to allow more truncations"

This was a fairly simple patch but on closer inspection was seriously flawed and caused PR27690.

This reverts commit r268921.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269051 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/VectorUtils.cpp
test/Transforms/LoopVectorize/AArch64/loop-vectorization-factors.ll