diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2006-03-16 21:53:05 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2006-03-16 21:53:05 +0000 |
| commit | d1d6b5cce260808deeac0227b00f6f81a20b2c6f (patch) | |
| tree | df35ecccc9fe1d71c82392ee45d624563b672491 /utils/TableGen/CodeGenTarget.cpp | |
| parent | 714554d70717c73e0542ca93df36fa78765f87af (diff) | |
| download | llvm-d1d6b5cce260808deeac0227b00f6f81a20b2c6f.tar.gz llvm-d1d6b5cce260808deeac0227b00f6f81a20b2c6f.tar.bz2 llvm-d1d6b5cce260808deeac0227b00f6f81a20b2c6f.tar.xz | |
For each loop, keep track of all the IV expressions inserted indexed by
stride. For a set of uses of the IV of a stride which is a multiple
of another stride, do not insert a new IV expression. Rather, reuse the
previous IV and rewrite the uses as uses of IV expression multiplied by
the factor.
e.g.
x = 0 ...; x ++
y = 0 ...; y += 4
then use of y can be rewritten as use of 4*x for x86.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26803 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenTarget.cpp')
0 files changed, 0 insertions, 0 deletions
