Add support for not strength reducing GEPs where the element size is a small
authorJeff Cohen <jeffc@jolt-lang.org>
Fri, 4 Mar 2005 04:04:26 +0000 (04:04 +0000)
committerJeff Cohen <jeffc@jolt-lang.org>
Fri, 4 Mar 2005 04:04:26 +0000 (04:04 +0000)
commit2f3c9b7562bcdc1795b2bd0ca28b283a8e972826
tree734d1bef304ad56ca48ac7133af9f69375fee19c
parent8d46a268c58368b106183026fbc96a7f3787ae0c
Add support for not strength reducing GEPs where the element size is a small
power of two.  This emphatically includes the zeroeth power of two.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20429 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Scalar.h
lib/Transforms/Scalar/LoopStrengthReduce.cpp