diff options
author | Hal Finkel <hfinkel@anl.gov> | 2012-06-16 20:34:07 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2012-06-16 20:34:07 +0000 |
commit | 2741d2cfdff89e45c6b98cd520d5cd3fe97829ad (patch) | |
tree | d9940e1bf2a271f13a1c08eca38cd51798c3e5e9 /test/YAMLParser/spec-05-02-utf8.data | |
parent | ab4684e26fe21857d8c8bc6ba7a5234c35117c83 (diff) | |
download | external_llvm-2741d2cfdff89e45c6b98cd520d5cd3fe97829ad.zip external_llvm-2741d2cfdff89e45c6b98cd520d5cd3fe97829ad.tar.gz external_llvm-2741d2cfdff89e45c6b98cd520d5cd3fe97829ad.tar.bz2 |
Cleanup trip-count finding for PPC CTR loops (and some bug fixes).
This cleans up the method used to find trip counts in order to form CTR loops on PPC.
This refactoring allows the pass to find loops which have a constant trip count but also
happen to end with a comparison to zero. This also adds explicit FIXMEs to mark two different
classes of loops that are currently ignored.
In addition, we now search through all potential induction operations instead of just the first.
Also, we check the predicate code on the conditional branch and abort the transformation if the
code is not EQ or NE, and we then make sure that the branch to be transformed matches the
condition register defined by the comparison (multiple possible comparisons will be considered).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158607 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/YAMLParser/spec-05-02-utf8.data')
0 files changed, 0 insertions, 0 deletions