OSDN Git Service

Use TargetData::getTypeSizeInBits instead of getPrimitiveSizeInBits()
authorDan Gohman <gohman@apple.com>
Thu, 16 Apr 2009 22:35:57 +0000 (22:35 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 16 Apr 2009 22:35:57 +0000 (22:35 +0000)
commit84fc33ed920d55fe59544ec83f14d1abc5bf0d63
tree46d5451c2d2d57fc5101b8af2b9c9d77f9911b44
parentd305e707a65fa18cbe828cae2338499661c9229e
Use TargetData::getTypeSizeInBits instead of getPrimitiveSizeInBits()
to get the correct answer for pointer types.

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