diff options
author | Dan Gohman <gohman@apple.com> | 2009-05-27 02:00:53 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-05-27 02:00:53 +0000 |
commit | 4a4f767235dac50965fc266fb822d9a2e37d5212 (patch) | |
tree | 82e79a225d914dc411aa244ae53dec5e780bf285 /lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp | |
parent | 72776d219014f6b07485e7dcc5a818849904e720 (diff) |
Teach SCEVExpander to avoid creating over-indexed GEP indices when
possible. For example, it now emits
%p.2.ip.1 = getelementptr [3 x [3 x double]]* %p, i64 2, i64 %tmp, i64 1
instead of the equivalent but less obvious
%p.2.ip.1 = getelementptr [3 x [3 x double]]* %p, i64 0, i64 %tmp, i64 19
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72452 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp')
0 files changed, 0 insertions, 0 deletions